SWD:Program Section command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SWD:Program Section command

1,110 Views
zky
Contributor I

Hello everyone,

   I am an an rookie engineer,Thanks for you reading.

I am now try to program the the FS32K144 MCU by swd,i can programm whole flash(512k) by Program Long Word command. but i want to use "program section command" to improve speed.

   I have some questions:

1.Did this command can write a quarter of FlexRam(0x14000000 to 0x14000100) to a flash sector?

2.How can i write date for example(0x55667788) to FlexRam(0x14000000-0x140003ff)?

I think i have set FlexRam as traditional ram because i can read value 0x02 from register 0x40020001.

below is my code i just want to write 0x55667788 to start address of FlexRam,but no matter whatever value i wrote to ,

when i read from this address ,always be 0x00000000.

pastedImage_1.png

I can make sure the protocol of SWD(WriteIO and ReadIO) are right.

Thanks for you all again, i will be alway waiting for your reply

Thanks.

Labels (1)
0 Kudos
1 Reply

889 Views
zky
Contributor I

Hi,

   nobody......

0 Kudos