Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging issues #8

Open
vrmadishetty opened this issue Aug 28, 2019 · 1 comment
Open

Debugging issues #8

vrmadishetty opened this issue Aug 28, 2019 · 1 comment

Comments

@vrmadishetty
Copy link

Hello sir,

Code for firmware update through sd card is perfectly running as expected.
I have using the same code for LPC1768.
ISSUES:
1.The printf function is not able to send debug messages to the console. I have done doing some changes using UART_SEND function. But still no debugs messages. Using UART0 for debugging.
2. The system is hanging (in boot code) while device is powered up. After the manually reset, the device starts working.

Look forward to hear from you.

@triffid
Copy link
Owner

triffid commented Aug 28, 2019

For printf see https://github.com/triffid/LPC17xx-DFU-Bootloader/blob/develop/skel.c#L49-L53 and https://github.com/triffid/LPC17xx-DFU-Bootloader/blob/develop/main.c#L51-L53

Re hanging, no idea. This code is deployed on thousands of smoothieboards across the world and hasn't shown any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants