Hi,  when I try to debug my code, I get an error message...

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

Hi,  when I try to debug my code, I get an error message...

2,983 Views
cimbom
Contributor I
Hi,

when I try to debug my code, I get an error message "unable to debug: flash security is enable".
How can I disable the flash security?

What does it mean "flash security is enable"?

please help.

txs



Freescale MC56F8036

CodeWarrior Development Studio for DSC56800/E version 8.1.1a, build 7168.

IDE Version: 5.6.1.1658
Labels (1)
Tags (1)
0 Kudos
4 Replies

535 Views
cimbom
Contributor I
now I know how to fix it (see Attachment)
0 Kudos

535 Views
cimbom
Contributor I
do anybody know how and why this happens?

I get this error message every time I write to the flash of the microcontroller. What should I do to solve this problem?

My code:

***WriteFlash
...
IFsh1_SetGlobalProtection(FALSE);
IFsh1_EraseSector(sector);
IFsh1_SetWordFlash(Addr, data);

***ReadFlash
...
IFsh1_GetWordFlash(Addr, &data);


do I forget any function or a step to complete my programm?

Txs
0 Kudos

535 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
 I suggest you to log your request to the Freescale CRM system.
Can I suggest you to have a look to your request via the web access ?
Please use Freescale on line support web page.
  - Go to following URL: http://www.freescale.com/TechSupport
  - Click on Submit a Service Request to create a new one or Manage Existing Service Request.
  - You will come to a login page.
  - You can submit your request through the web from there or view the activities of a SR.
Regards
Pascal
0 Kudos

535 Views
cimbom
Contributor I
sorry, I forgot the title :smileysurprised:
0 Kudos