patchAVR C Runtime Library - Patches: patch #8590, WDT enable/disable for devices...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8590: WDT enable/disable for devices with CCP

Submitter:  Pitchumani <pitchumani>
Submitted:  Wed 07 Jan 2015 06:38:13 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  pitchumani Open/Closed:  Closed

Wed 07 Jan 2015 06:38:13 AM UTC, original submission:  

For some devices CCP register should be written with the signature before writing into WDT register. Attached patch adds a conditional branch to enable/ disable wdt for devices that has CCP.

Example: tiny4/5/9/10/20/40, tiny828 and tiny1634

In wdt enable/disable functions, there are branches to check whether the WDT and CCP are in IO range or not. This is to generate in/out instructions if they are in IO range.

NOTE: Currently linker do not relax lds/sts into in/out if they are in IO range.

ChangeLog

2015-01-07  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
            Pitchumani Sivanupandi <pitchumani.s@atmel.com>

    * include/avr/wdt.h: Add conditional branch to enable/disable wdt
    for devices that has CCP.


Pitchumani <pitchumani>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #32777:  wdt-ccp-branch.patch added by pitchumani (5KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pitchumani (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-05 pitchumani StatusIn Progress Done
        Open/ClosedOpen Closed
    2015-01-07 pitchumani Attached File- Added wdt-ccp-branch.patch, #32777

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code