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,583件の閲覧回数
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,557件の閲覧回数
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,558件の閲覧回数
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