Unable to re-flash the code in LPCXpresso 11c24/sd (Code Read Protection)

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

Unable to re-flash the code in LPCXpresso 11c24/sd (Code Read Protection)

3,471 Views
aliakbarp
Contributor I

Hello @jeremyzhou , 

I was trying to reflash/debug an updated code to my board 11C24/CD, but it is always blocked. perhaps due to CRP that was set up in initial code?

any other way to erase the content of the memory through IDE? any HW set up needed? 

*referring to https://community.nxp.com/t5/i-MX-RT/Failed-on-connect-Ee-42-Could-not-connect-to-core-No-connection... my original question: is this something related to Code Read Protection (CRP)? I am just wondering how to erase all the content in EEPROM? Do I need to refer to your pdf file you shared? I am using LPCXpresso 11C24/CD

Labels (1)
0 Kudos
Reply
4 Replies

3,458 Views
aliakbarp
Contributor I

Hello @Alice_Yang , 

 

I don't get it when you mention PIO_01,? isn't it just pin, instead of button. I have only 2 button SW1 and SW2.

another question for flash magic sw, what is P6 in LPC11C24?

thanks

0 Kudos
Reply

3,446 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

1) PIO0_1 is SW2 in your board, you can also find this refer to Schematic of LPCXpresso 11c24.

2) That DOC just a demonstration , not or this board, please refer to user manual of your chip find

which UART used. 

PIO1_6 is ISP_RXD and PIO1_7 is ISP_TXD. 

also refer to Schematic find these pins on your board.

I attached the SCH and Flash Magic manual for you .

 

Regards,

Alice

0 Kudos
Reply

3,432 Views
aliakbarp
Contributor I

Hello @Alice_Yang 

Thanks a lot for your reply.. really appreciate it..

however, I still have an issue... 

I use TTL-232R-RPi to interface it with PIO1_6 is ISP_RXD / J6_10(Orange) and PIO1_7 is ISP_TXD / J6_9 (Yellow) and the black color is to ground  J6-1.

the following is the screenshot of the flash magic

 

Fail.JPG

 

i set the baudrate is 115200 and it is no signature. but if I set the baudrate default 57600 it said Failed to autobaud.

Do you think anything wrong with the set up?

Note: I conneceted 2 USB cables, 1 for power for J4 (micor USB),another one for TTL interface (UART)

0 Kudos
Reply

3,460 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello aliakbarp,

You can make your chip enter ISP mode through hold on ISP button(PIO0_1) and reset your board,

then use Flash Magic to erase whole chip.

About detail you can have a look at:

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763 

Then try to connect  MCUXpresso IDE again to debug.

 

Regards,

Alice

0 Kudos
Reply