a LPC81x ISP problem

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

a LPC81x ISP problem

547 Views
torukoyama
Contributor I

I'm in trouble with ISP of LPC812.

A command of ISP, "Read <address> <number of byte>" seems to be wired when I read an address, 0x3808, which is the middle of page 224. there is no problem when I read 0x3800, 0x3804 and 0x380C. ISP returns the correct data via UART. But only reading the address of 0x3808, the return data is 0x00000000. Whenever read data, I designate <number of byte> as 4. and keep word boundary.

Is there a bug?

Here below are information of microprocessor I have.

ProductName: LPC812M101JDH20

Labels (1)
0 Kudos
2 Replies

406 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi torukoyama,

   Please check my test result with lpc812max board.

1. Use the flash magic read out the 0x3800 address data:

pastedImage_1.png

All the data in 0X3800,0X3804,0X3808,0X380C is 0xffffffff.

Please check my ISP mode command:

pastedImage_2.png

0X52 0X20 0X31 0X34 0X33 0X34 0X34 0X0D 0X0A 0X30 0X0D 0X0A 0XFF 0XFF 0XFF 0XFF

It is:R 0 14344<cr><lf>0<cr><lf> 0xffffffff

14344: 0x3800

0:CMD_SUCCESS

0xffffffff: actuall data plain binary

You can find, 14344 is address 0x3808, the read out data is 0xffffffff, the same as the result from the flashmagic.

My chip is also LPC812M101JDH20.The revision identifier is 4C.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

406 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi torukoyama,

     Thank you for your interest in NXP LPC product, I would like to provide service for you.

     I need more information about your question.

     1. Please also provide me your LPC812M101JDH20 marking

pastedImage_1.png

  2. Please use the flash magic to read out the memory which contains 0X3800-0X38FF.

  3. Please give me the whole ISP command which you are using to connect the LPC812, and read the 0x3800, 0x3804, 0x3808 and 0x380C, you can give me the screen shoot from our serial tool.

Thanks a lot for your cooperation, then I will do the detail check on my side.

Waiting for your reply!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos