how can i load a blink example code to a new LPC55S66 Microcontroller

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how can i load a blink example code to a new LPC55S66 Microcontroller

跳至解决方案
1,586 次查看
Jimmywder03
Contributor III

Hello,

I would like to know how can i load a Blink example code to a new LPC55S66 Microcontroller. I Also made a custom board to probe that IC. I Know that Ic is running well becuase I use the MCUBOOTUTILITY and i See that it reconize the ic and also my pc reconize the usb port. So up to now everyting is well but i dont know how to load a code. (I used exactly circuit diagram that has LPC55s69 to make my on board.)

Im using the base MCULINK board to pass the code throught the J7 called Vcom  port using MCUXpresso IDE (FC0_TARGET_RXD, FC0_TARGET_TXD and GND) and then I used the LPC55S66 datasheet to see which are the pin to use to conect with my MCULINK and those pins are:

PIO0_24(FC0_RXD_SDA_MOSI_DATA — Flexcomm 0: USART
receiver, I2C data I/O, SPI master-out/slave-in data, I2S
data I/O).

 PIO0_25 (FC0_TXD_SCL_MISO_WS — Flexcomm 0: USART
transmitter, I2C clock, SPI master-in/slave-out data I/O, I2S
word-select/frame),

 PIO0_29(FC0_RXD_SDA_MOSI_DATA — Flexcomm 0: USART
receiver, I2C data I/O, SPI master-out/slave-in data, I2S
data I/O.)

and PIO0_30 ( FC0_TXD_SCL_MISO_WS — Flexcomm 0: USART
transmitter, I2C clock, SPI master-in/slave-out data I/O, I2S
word-select/frame).

I also saw the EVK LPC55s69 Circuit diagram to see which pins they use to comunicate the IC with the programmer ic and was exactly the same pic that i am using.

I connected RX pin with TX and viceverse. 

The error that Im receiving is that could not connect to core.  

Note: Im using the LPC55s66 (64 pin HTQFP).

 

thanks for all

0 项奖励
回复
1 解答
1,560 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

Seems you have a private ticket for this question as well.

I read your questions but I something I am not clear. Please confirm if my below understanding is correct:

  1. Your LPC55S66 is on custom PCB, not nxp demo board
  2. Your debug probe is MCU-Link https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINKand it can be well recognized ?
  3. Did you ever successfully download code to LPC55s66 once with MCUXpresso IDE?
  4. Why do you use MCUBOOTUTILITY ? If you just want to run a blink example, MCUBOOTUTILITY  is not needed。
  5. To load a blink example, you need to install LPC55s66 MCUXpresso SDK to IDE, then import blinky demo code, build and download via MCU-Link. Did you perform those steps?

Thanks,

Jun Zhang

在原帖中查看解决方案

1 回复
1,561 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

Seems you have a private ticket for this question as well.

I read your questions but I something I am not clear. Please confirm if my below understanding is correct:

  1. Your LPC55S66 is on custom PCB, not nxp demo board
  2. Your debug probe is MCU-Link https://www.nxp.com/design/microcontrollers-developer-resources/mcu-link-debug-probe:MCU-LINKand it can be well recognized ?
  3. Did you ever successfully download code to LPC55s66 once with MCUXpresso IDE?
  4. Why do you use MCUBOOTUTILITY ? If you just want to run a blink example, MCUBOOTUTILITY  is not needed。
  5. To load a blink example, you need to install LPC55s66 MCUXpresso SDK to IDE, then import blinky demo code, build and download via MCU-Link. Did you perform those steps?

Thanks,

Jun Zhang