is it a bug of usbdm possibly?

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

is it a bug of usbdm possibly?

491 Views
wangbaode
Contributor IV

Hi pgo,

I find a question of usbdm.

my project for test is in attachmpent.

In my project i place some variable in 0x400 that is flash confuration field in kl05z32.

when i use USBDM to debug the project,I can't find my data in 0x400.

6158_6158.pngpastedImage_0.png

But I find my data in 0x400,when I try to use jlink to debug my project.

6154_6154.pngpastedImage_0.png

 

I think you forgot to program flash confuration field in flash.

Original Attachment has been moved to: KL05Z32_Security.rar

Tags (3)
0 Kudos
2 Replies

360 Views
pgo
Senior Contributor V

Hi wang,

When using the debugger USBDM programs the security area to a default value to allow debugging.  It is a bit excessive and rewrites the whole 16 bytes to a default value of 0xFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFF.

Using the stand-alone programmer with "image" security option will program the image unchanged.

bye

0 Kudos

360 Views
wangbaode
Contributor IV

Hi pgo,

I see you.

But the driver of bdm in my win7-32bit machine can't work.what should i do?

bye

0 Kudos