mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 06:32:06 +00:00
eink bootloader finished
This commit is contained in:
parent
6a4ef7e1d1
commit
116fe6d109
@ -1,5 +1,7 @@
|
|||||||
# You probably don't want to use this script, it programs a custom bootloader build onto a nrf52 board
|
# You probably don't want to use this script, it programs a custom bootloader build onto a nrf52 board
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
BOOTDIR=/home/kevinh/development/meshtastic/Adafruit_nRF52_Bootloader
|
BOOTDIR=/home/kevinh/development/meshtastic/Adafruit_nRF52_Bootloader
|
||||||
|
|
||||||
nrfjprog --eraseall -f nrf52
|
nrfjprog --eraseall -f nrf52
|
||||||
@ -9,7 +11,7 @@ nrfjprog --eraseall -f nrf52
|
|||||||
|
|
||||||
echo Programming bootloader and soft device
|
echo Programming bootloader and soft device
|
||||||
# the following ling incorrectly enables reset pin, because the running code rewrites it
|
# the following ling incorrectly enables reset pin, because the running code rewrites it
|
||||||
nrfjprog --program $BOOTDIR/_build/build-ttgo_eink/ttgo_eink_bootloader-0.3.2-122-gf6bfaac-dirty_s140_6.1.1.hex -f nrf52
|
nrfjprog --program $BOOTDIR/_build/build-ttgo_eink/ttgo_eink_bootloader-0.3.2-123-g4f9022d-dirty_s140_6.1.1.hex -f nrf52
|
||||||
|
|
||||||
# this generates an intel hex file that can be programmed into a NRF52 to tell the adafruit bootloader that the current app image is valid
|
# this generates an intel hex file that can be programmed into a NRF52 to tell the adafruit bootloader that the current app image is valid
|
||||||
# Bootloader settings are at BOOTLOADER_SETTINGS (rw) : ORIGIN = 0xFF000, LENGTH = 0x1000
|
# Bootloader settings are at BOOTLOADER_SETTINGS (rw) : ORIGIN = 0xFF000, LENGTH = 0x1000
|
||||||
|
@ -51,11 +51,14 @@ feedback to give:
|
|||||||
|
|
||||||
* remove ipx connector for nfc, instead use two caps and loop traces on the back of the board as an antenna?
|
* remove ipx connector for nfc, instead use two caps and loop traces on the back of the board as an antenna?
|
||||||
|
|
||||||
|
* the i2c RTC seems to talk fine on the i2c bus
|
||||||
|
|
||||||
* I've made the serial flash chip work, but if you do a new spin of the board I recommend:
|
* I've made the serial flash chip work, but if you do a new spin of the board I recommend:
|
||||||
connect pin 3 and pin 7 of U4 to spare GPIOs on the processor (instead of their current connections),
|
connect pin 3 and pin 7 of U4 to spare GPIOs on the processor (instead of their current connections),
|
||||||
This would allow using 4 bit wide interface mode to the serial flash.
|
This would allow using 4 bit wide interface mode to the serial flash - doubling the transfer speed! see example here:
|
||||||
doubling the transfer speed! see example here:
|
|
||||||
https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/nrf52840_DK/hw_external_memory.html?cp=4_0_4_7_4
|
https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/nrf52840_DK/hw_external_memory.html?cp=4_0_4_7_4
|
||||||
|
Once again - I'm glad you added that external flash chip.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------
|
/*----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user