board config file for NRF52811
I'm trying to run mynewt for my board with NRF52811(my board schematic USB_dongle.PDF ). As far as I can see, this processor is supported but there is no board for it.
I tried to create a board based on nordic_pca10040 but I must have made a mistake somewhere: my firmware does not run. I make this conclusion because the blink does not light the LED (I tried to configure the blink led to pin 10 or 9, this is my UART, but there are also two LEDs, you can understand better if you look at the schematic).
Му modifed board: nrf_52811board.zip
Could you tell me what I have to do to run the code on NRF52811 processor? As far as I can see, support for NRF52811 was added by a respected @alvarop. Perhaps you can help me?
This does not seems like mynewt issue. Anyway here are my thoughts.
boot-nrf52xxaa.ld should have correct ram size
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0xC000
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x6000
}
boot-nrf52xxaa.ld has correct ram size but flash size should match slot 0 size
MEMORY
{
FLASH (rx) : ORIGIN = 0x0000C000, LENGTH = 0xD000
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x6000
}
Bootloader in most cases fits in 32KB instead of 48KB.
Blink led would better be pin 9 since pin 10 is also output from FTDI chip.
bsp.h should have correct ram size
#define RAM_SIZE 0x6000
I’ve been using this bsp for one of my projects: https://github.com/alvarop/ostur/tree/master/fw/2.0/hw/bsp/ostur_sensor_v1p0
Alvaro
On Mon, Jan 13, 2020 at 12:39 PM kasjer [email protected] wrote:
This does not seems like mynewt issue. Anyway here are my thoughts.
boot-nrf52xxaa.ld should have correct ram size
MEMORY { FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0xC000 RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x6000 }
boot-nrf52xxaa.ld has correct ram size but flash size should match slot 0 size
MEMORY { FLASH (rx) : ORIGIN = 0x0000C000, LENGTH = 0xD000 RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x6000 }
Bootloader in most cases fits in 32KB instead of 48KB.
Blink led would better be pin 9 since pin 10 is also output from FTDI chip.
bsp.h should have correct ram size
#define RAM_SIZE 0x6000
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apache/mynewt-core/issues/2152?email_source=notifications&email_token=AAFVVQOMZDCA3JRZ5UWJ3KTQ5OS2RA5CNFSM4KFAJAO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXHRZQ#issuecomment-573470950, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFVVQO5XNRGDTEB7J64LX3Q5OS2RANCNFSM4KFAJAOQ .