Hi all,

Having an issue with outputting data from a pic to PC via a USB-serial COM port.

I have an array of 256 bytes (1048574 of these pages of bytes in fact!)

What I'd like to do is simply:

HSEROUT [STR page_array\256]

Can't do that as limited to 255 char's.

HSEROUT [STR page_array\128] works, but terminates if any of the bytes in the array are 0 (null). Just my luck!

Is there a way of combining HEX2 in this and stopping the null termination?

i.e. HSEROUT [HEX2 STR page_array\128]

Additionally, is there a way to output the second half of the page_array using an offset? i.e. I was wondering if there's a way to access the address of page_array and assign this+128 bytes to a different variable:

page_array2 = {address of}page_array + 128 {bytes}
HSEROUT [HEX2 STR page_array2\128]

?

Essentially, trying to offload up to 256 MB of data from a flash chip to VB on laptop over 115.2k BAUD connection. I know this will take some time. the more efficient the transfer the better. If anyone has experience in this, I'd love some help!

Many thanks in advance.

Jimbo