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

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

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

Jump to solution
1,578 Views
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 Kudos
Reply
1 Solution
1,552 Views
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

View solution in original post

1 Reply
1,553 Views
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