Hi Gang.  I'm having trouble flashing a LM3S308.  Im running svn:1173,
and it works just fine for the 6965 demo board.  Now I'm bringing
up my own board, and I'm trying to deploy to a part that only
has 4k of sram and 16k of flash.

When I flash a small image, I get:

..................................................................
 > flash write_image erase vfd-arm/vfd.bin 0
auto erase enabled
not enough working area available(requested 8192, free 4056)
Algorithm flash write 818 words to 0x0, 818 remaining
wrote 3272 byte from file vfd-arm/vfd.bin in 1.354851s (2.358424 kb/s)
..................................................................
And the flash succeeds.

When I try to flash a slightly larger image, I get failure:

...................................................................
 > flash write_image erase rtos/vfd308/vfd.bin 0
auto erase enabled
not enough working area available(requested 8192, free 4056)
SWJ-DP STICKY ERROR
dcb_dhcsr 0x30003, nvic_shcsr 0x20000, nvic_cfsr 0x8200, nvic_bfar 
0x20001000
SWJ-DP STICKY ERROR
dcb_dhcsr 0x30003, nvic_shcsr 0x20000, nvic_cfsr 0x8200, nvic_bfar 
0x20001000
Block write error address 0x20001000, wcount 0xa
Algorithm flash write 1024 words to 0x0, 1226 remaining
timed out while waiting for target halted
error executing stellaris flash write algorithm
flash writing failed with CRIS: 0x2
error writing to flash at address 0x00000000 at offset 0x00000000 (-902)
..................................................................


Any thoughts?


-- 
Robert Sexton - [EMAIL PROTECTED]
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to