Hi, Im looking to store a max of 256 bytes of data from a USART serial interface quickly in a PIC18F4550. Basically i need to receive a long string of ASCII from a serial console (max of 256 chars) and buffer it for processing later. It only needs to run at 9600 baud but i dont now where to store it until the full string is received as the on board eeprom takes about 4ms to write and a program write does 64bytes in about 8ms The data doesnt need to be retained for long and was wondering if there was anyway that i didnt know of for storing it in on board RAM. however i only know how to use variables for that as im pretty sure pointers cannot be used. Im doing this in Assembly Cheers Steven Richardson
Store it in RAM - you can do pointers in assembly code - look up FSR and INDF in the datasheet. I know that works for 16 series devices, so I'm sure there's an 18 series equivalent.