Closed frankminfarm closed 5 years ago
@frankminfarm: This is almost certainly due to uploading a firmware without the bootloader. Once the compilation is done, please run ./merge_bootloader.sh
and flash the firmware-with-bootloader.hex
using the PICKit.
The firmware.hex
does not contain a bootloader and hence is intended only for using with an SD Card.
Yes, right you are. That was the problem. Thanks for the response.
👍
This is a question
What do you want to do? What do you expect?
I am trying to build and upload the TTN-Gateway firmware code using MPLAB X IDE v3.45. While the project seems to build fine - see log below - and the firmware is uploaded using my PICkit3 (Chinese copy), none of the TTN-Gateway's LEDs turn on and the board is unresponsive.
What steps did you take? (Give as many details as possible so that we can reproduce it)
I followed the steps documented here.
However, running compile.sh failed with the following output:
make: *** [.build-conf] Error 2
What went wrong? What is missing?
None of the TTN-Gateway's LEDs turn on and the board is unresponsive once the built firmware is uploaded.
What firmware is running on your gateway?
I believe that it's v1.0.5 - at least this is the output of running the generate_version_header.sh command - is this correct?
I have been able to upload the latest stable firmware .hex file using MPLAB IPE and this works fine - i.e. the TTN-G is operational.
What do the logs show?
Here is the output from MPLAB IDE - note that I have shortened this due to the post size limit restriction:
Any Screenshots or Photos?
Do you think you can try to fix this yourself and submit a pull request?
I would hope so.