Closed joerg-krause closed 8 years ago
Hello, Unfortunately NXP is in not a position to release the source code. The binary does work for JN5169 yes. Thanks, Simon
Hi @simonduq, so who did the modification to the bootloader and how?
NXP's @NxpChrisGray did. Chris, comments welcome here :) Thanks
Hello @joerg-krause,
Yes, as part of the NXP software team behind the JN51xx I was involved in the original boot loader development and the modifications, and I tested that it works on the JN5169 as well. Two caveats when using it on the JN5169:
The standard JN5169 boot loader includes a workaround for a small reset issue with the analogue peripherals, but this workaround is not in the modified boot loader. Instead, add this to the start-up code in your JN5169 application:
#include “PeripheralRegs.h”
u32RegisterValue = u32REG_SysRead(REG_SYS_PWR_CTRL);
vREG_SysWrite(REG_SYS_PWR_CTRL, u32RegisterValue | REG_SYSCTRL_PWRCTRL_APEN_MASK);
vREG_SysWrite(REG_SYS_PWR_CTRL, u32RegisterValue);
Hi @NxpChrisGray,
many thanks for clarification! Any recommendations for howto flash the bootloader?
Are the sources to the modified bootloader for the JN5168 available?
Is the binary also valid for the JN5169?