Hi,

Xiaofan Chen pisze:
> You commented out all of the following for your script. Should I
> uncomment them for flashing?
> 
> #$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x00200000
> -work-area-size 0x4000 -work-area-backup 0
> 
> #flash bank tms470 0x00000 0x20000 0 0 0
> #flash bank tms470 0x20000 0x20000 0 0 0
> #flash bank tms470 0x40000 0x20000 0 0 0
> #tms470 flash_keyset 0xffffffff 0xffffffff 0xffffffff 0xffffffff
> #tms470 osc_megahertz 4
> #tms470 plldis 0
> 
You have to configure properly flash banks for your R1A256 (I don't know 
how many banks is there and what size of), but for my R1A384 I would 
uncomment following lines:

flash bank tms470 0x00000 0x20000 0 0 0
flash bank tms470 0x20000 0x20000 0 0 0
flash bank tms470 0x40000 0x20000 0 0 0
tms470 flash_keyset 0xffffffff 0xffffffff 0xffffffff 0xffffffff
tms470 osc_megahertz 4
tms470 plldis 0


You probably would like to modify memory mapping - in my configuration 
internal SRAM starts from address 0x00000000. I guess it's the address 
where flash should begins.

BR,
Krzysztof
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to