Re: EUSART sending null characters
☼ Best Answerby FabriC 2019/09/15 19:40:00
On K40 you need to deal with the NVMREG errata. Otherwise C programs don't access const data (stored in flash) properly. The errata sheet has a manual method of doing this, but recent versions of XC8 can implement the fix by telling them to.
I think by adding "nvmreg" in the project properties under XC8 Linker, Errata - the the compiler manual.