Dear @nxp
By using the LPC804 we develop the Board but it is working in the Debugging mode but when remove the the debugger the code is not running. please give any solution for Sort-out this issue.
Circuit is placed in the below attachment.
Thank you
B Pavan Kumar
解決済! 解決策の投稿を見る。
> We Verify that LED Toggle's in the Debug mode, But after the Releasing the Debugger it is not Blinking.
Are you sure you are not fooled ? A blinking beyond 70...80Hz looks like a static state, better check it with a scope.
Many initialisation fails manifest in the startup code, before main is reached.
A simple instrumentation code could e.g. write successive byte values to a serial interface (UART), just attach a serial terminal.
An even simpler method would be to toggle a GPIO before or after each step, but you would need a scope to check that. I used this method in one of my former companies, for a project without debug access to the MCU.
> ... it is working in the Debugging mode ...
This suggests you board is basically working. Unless you powered it via the debug pod and there is a supply problem on the board, the problem relates to your software. I guess you measured the 3.3V supply while powered and the debug adapter detached.
> ...but when remove the the debugger the code is not running.
Try adding instrumentation code, e.g. via serial interface or via GPIO in the simplest case. Check how far you get. Common issue are different debug/release toolchain settings, and clock init related issues.
Dear @frank_m,
Thank You MR.@frank_meyer for the valuable Suggestions.
*__This suggests you board is basically working. Unless you powered it via the debug pod and there is a supply problem on the board, the problem relates to your software. I guess you measured the 3.3V supply while powered and the debug adapter detached.
Already Check the Voltages and Its Noise on the Supply and its Vss Pin Voltage measured is 3.318V and Noise 80mV. after detaching the Supply.
*__Try adding instrumentation code, e.g. via serial interface or via GPIO in the simplest case. Check how far you get. Common issue are different debug/release toolchain settings, and clock init related issues.
Yes Sir we already implement the Code for the LED toggle on the PIO0_20 Bus. We Verify that LED Toggle's in the Debug mode, But after the Releasing the Debugger it is not Blinking.
Thank You,
B Pavan Kumar
> We Verify that LED Toggle's in the Debug mode, But after the Releasing the Debugger it is not Blinking.
Are you sure you are not fooled ? A blinking beyond 70...80Hz looks like a static state, better check it with a scope.
Many initialisation fails manifest in the startup code, before main is reached.
A simple instrumentation code could e.g. write successive byte values to a serial interface (UART), just attach a serial terminal.
An even simpler method would be to toggle a GPIO before or after each step, but you would need a scope to check that. I used this method in one of my former companies, for a project without debug access to the MCU.
Hi Sir @frank_m ,
Other Person replayed to you, As far as issue concerned, it is cleared, and it is not about Debugger issue, As there is Some bug in the code - which is related to memory management fault in Run time.
Thank you,
B Pavan Kumar