LPC8N04: Application needs a reset to start after programming

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPC8N04: Application needs a reset to start after programming

跳至解决方案
1,335 次查看
DDTD
Contributor II

Hello everyone:

We are developing an application for LPC8N04 and we have the next problem.

Once the LPC8N04 is programmed through the debugger and the PCB is running standalone, the application runs only until a reset signal is placed in the Reset pin, this behavior is replicated every time the MCU is powered. 

I have been researching about some problems in the bootloader but at the time it seems to be fixed due to the auto generation and programming of the checksum in the right memory slot.

I just saw that the LPC8N4 default application needs to receive the same reset signal once the MCU is powered up. LPC8N04: NFC Hands-on Lab Guide 

DDTD_0-1652746041341.png

Is this the expected behavior for every application loaded?

Is there a way to avoid the need of a reset signal once the MCU is powered?

Regards

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
1,326 次查看
frank_m
Senior Contributor III

> I just saw that the LPC8N4 default application needs to receive the same reset signal once the MCU is powered up. 

Normally, you only do this to get the MCU into a specific mode, i.e. pull the mode pins to certain levels to get it into ISR mode (ROM bootloader).

If the board does not run after power-up, you might have a power supply issue. Which means, the power supply is not yet stable when the L-H transition at the reset pin occurs.

The most common method to correct this is to prolong the reset signal at power-up, in the simplest case with a RC element.

在原帖中查看解决方案

2 回复数
1,327 次查看
frank_m
Senior Contributor III

> I just saw that the LPC8N4 default application needs to receive the same reset signal once the MCU is powered up. 

Normally, you only do this to get the MCU into a specific mode, i.e. pull the mode pins to certain levels to get it into ISR mode (ROM bootloader).

If the board does not run after power-up, you might have a power supply issue. Which means, the power supply is not yet stable when the L-H transition at the reset pin occurs.

The most common method to correct this is to prolong the reset signal at power-up, in the simplest case with a RC element.

1,310 次查看
DDTD
Contributor II

Hi @frank_m,
The RC solved the issue.

Thanks!

0 项奖励
回复