fdserial rxChar works with CMM but not XMM
jkg0
Posts: 2
I have a simple program to read serial from a GPS board with fdserial.h.
It works fine when I compile for the CMM memory model but when I switch to XMM I never get any characters from fdserial_rxChar(int fd).
What should I check?
It works fine when I compile for the CMM memory model but when I switch to XMM I never get any characters from fdserial_rxChar(int fd).
What should I check?
Comments
XMM modes are hardware dependent. What board are you using?
http://www.parallax.com/product/32910
To clarify, I am trying to use the XMMC External Flash Code Main Ram Data memory model.
The libfdserial folder has an xmmc folder so I assumed it was available.
It does build in XMMC mode but no characters are received from the rxChar command.
First I recommend opening the libsimpletext.side project and running that in CMM, LMM, and XMMC modes to verify they all work. Then try something else.
XMM-SINGLE and XMM-SPLIT modes will not work on the ActivityBot because only EEPROM (or maybe SDCard not recommended) is available on the board unless you have another device.
The libsimpletext.side is typically in: Documents\SimpleIDE\Learn\Simple Libraries\TextDevices\libsimpletext