LPC43 with an RTOS on Keil Uvision

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

LPC43 with an RTOS on Keil Uvision

893 Views
willemvanheerde
Contributor I

Im currently using the LPC4337 with an RTOS on Keil Uvision. Im now switching to the LPC4370. Is there any place i can search for tho find example code on how to configure the flash of the LPC link 2 cause i want to use it to evaluate the LPC4370. Im using the J-link to program the LPC link 2 and i can confirm that i have i connected up correctly.

Labels (1)
0 Kudos
3 Replies

660 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Willem van Heerden,

   Please download the lpcopen code for LPC-Link 2 (LPC4370) board:

1. LPCXpresso IDE project

http://www.nxp.com/assets/downloads/data/en/software/lpcopen_3_01_lpcxpresso_nxp_lpclink2_4370.zip 

2. IAR and MDK project

http://www.nxp.com/assets/downloads/data/en/software/lpcopen_3_01_keil_iar_nxp_lpclink2_4370.zip 

Take IAR project as an example, after you download the lpcopen_3_01_keil_iar_nxp_lpclink2_4370.

 You can find the freertos sample code in folder:lpcopen_3_01_keil_iar_nxp_lpclink2_4370\LPC43xx_18xx\prj_link4370\iar

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

660 Views
willemvanheerde
Contributor I

Hi.

Just before i received your response i managed to find these files that you mentioned. 

I'm using a J-Link from Segger to program the device. Everything compiles fine, but when i want to Load/Debug it gives me an error that says "No algorithm found". Below is my build output.

JLink info:
------------
DLL: V6.10i, compiled Oct 25 2016 19:31:51
Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
Hardware: V8.00
S/N : 2xxxxxxxx 
OEM : SEGxxxxxxxx
Feature(s) : FlashBP, GDB

* JLink Info: TotalIRLen = 12, IRPrint = 0x0111
* JLink Info: AP-IDR: 0x247xxxxx, Type: AHB-AP
* JLink Info: Start searching for Cortex-M ROM table with ROMTable[0] @ 0xE00FF000.
* JLink Info: ROMTable[1]: Cortex-M ROM table found.
* JLink Info: Found Cortex-M4 r0p1, Little endian.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl 0 @ E00FF000
* JLink Info: ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB00C SCS
* JLink Info: ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT
* JLink Info: ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB
* JLink Info: ROMTbl 0 [3]: FFF01000, CID: B105E00D, PID: 003BB001 ITM
* JLink Info: ROMTbl 0 [4]: FFF41000, CID: B105900D, PID: 000BB9A1 TPIU
* JLink Info: ROMTbl 0 [5]: FFF42000, CID: B105900D, PID: 000BB925 ETM
ROMTableAddr = 0xE00FF003
* JLink Info: LPC18xx/43xx reset: Halting CPU before performing reset...
* JLink Info: LPC18xx/43xx reset: Halted CPU before reset.

Target info:
------------
Device: LPC4370:Cortex-M4
VTarget = 3.274V
State of Pins:
TCK: 1, TDI: 0, TDO: 0, TMS: 0, TRES: 1, TRST: 1
Hardware-Breakpoints: 6
Software-Breakpoints: 8192
Watchpoints: 4
JTAG speed: 12000 kHz

No Algorithm found for: 14000000H - 14001DBBH
Erase skipped!
Error: Flash Download failed - "Cortex-M4"
Flash Load finished at 13:54:59

0 Kudos

660 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Willem,

   Please tell me what the IDE you are using?

   You can update the error picture directly, then I will also try it on my side.

   In my memory, I have test the IAR project with JLINK, the code can be downloaded successfully.

Waiting for your updated information.


Have a great day,
Kerry

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

0 Kudos