projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CC2430 flashing fixed.
[goodfet]
/
firmware
/
apps
/
chipcon
/
chipcon.c
diff --git
a/firmware/apps/chipcon/chipcon.c
b/firmware/apps/chipcon/chipcon.c
index
ccacb95
..
8ee6e80
100644
(file)
--- a/
firmware/apps/chipcon/chipcon.c
+++ b/
firmware/apps/chipcon/chipcon.c
@@
-409,12
+409,12
@@
void cc_write_flash_page(u32 adr){
cmddata[1]=0xc7;
cmddata[2]=0x51;
cc_debug_instr(3);
cmddata[1]=0xc7;
cmddata[2]=0x51;
cc_debug_instr(3);
-
//
debugstr("Loaded bank info.");
+ debugstr("Loaded bank info.");
cc_set_pc(0xf000+FLASHPAGE_SIZE);//execute code fragment
cc_resume();
cc_set_pc(0xf000+FLASHPAGE_SIZE);//execute code fragment
cc_resume();
-
//
debugstr("Executing.");
+ debugstr("Executing.");
while(!(cc_read_status()&CC_STATUS_CPUHALTED)){
while(!(cc_read_status()&CC_STATUS_CPUHALTED)){
@@
-422,7
+422,7
@@
void cc_write_flash_page(u32 adr){
}
}
-
//
debugstr("Done flashing.");
+ debugstr("Done flashing.");
P1OUT&=~1;//clear LED
}
P1OUT&=~1;//clear LED
}