We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
We are using NXP LPC2366 (100 Pins) microprocessor in a project. The version of uVision is 3.60.
We have received new boards implementing the LPC2366 but we are not able to start the boards. A break point in the start up file (LPC2300.s) is never reached.
The power connections look good and we think we have a clock problem.
1)We decided to use the internal RC clock source (4.0 MHz) but the program never exits the following loop (PLL is not locked)
; Wait until PLL Locked PLL_Loop LDR R3, [R0, #PLLSTAT_OFS] ANDS R3, R3, #PLLSTAT_PLOCK BEQ PLL_Loop
The LPC2300.s file is configured with the following parameters :
CLOCK_SETUP EQU 1 SCS_Val EQU 0x00000000 ; no main osc CLKSRCSEL_Val EQU 0x00000000 PLLCFG_Val EQU 0x00000023 ; N=1 M=35 CCLKCFG_Val EQU 0x00000004 USBCLKCFG_Val EQU 0x00000005 PCLKSEL0_Val EQU 0x00001000 PCLKSEL1_Val EQU 0x00000000
Any suggestion would be appreciated.
2) We are working on the boot process flowchart of the NXP component. We would like to understand why the Ulink2 debugger can't stop in the LPC2300.s file. Could you describe us the steps performed by the controller before the startup process ? How can we check that ?
Thanks for your assistance.
Hi,
You wrote : They will check-sum the interrupt vector table to see if any application has been downloaded.
How can we check the result of the interrupt vector table checksum ? we want to verify that the code is valid or considered as valid in the user flash. We don't change the software code and this software is running correctly on previous boards.
The actual details will require that you contact NXP.
Could you give us a direct contact ?
Do you have any other board to test with? Or you may possibly try to run ... or a better oscilloscope if the RC oscillator may be too much off from 4MHz.
Yes, the components with date code 08 07 B work but components with Date code 07 41 BY and 08 25B fail !
For us, we can't measure the 4MHz internal frequency. Can we? How ?