Transfer a file to Micro's internal memory via usb
I believe I have a more concise way of asking the questions I originally posted in this thread:
Hi All,
I need to store a file on the internal memory of a micro, via usb, that contains integer variables, and is a 2D array of around 32 x 7 bytes. I need to be able to save this file from the host PC to the target micro, (without writing over program code obviously).
So my questions are:
1) I understand I need my host program (written in VB) to convert my output file (which is simply a str array of hex values representing the variables I need the micro's code to read, equally these could be integer values) into a hex file to be transferred via USB to the micro (which has a USB interface). Is the type of hex file dependent on the target micro, or the protocol to transfer this? (I have previously only used IAR embedded wb and a usb jtag programmer to program a micro, which is why I need a little help with this raw format and how to transfer it)
2) This is not strictly an embedded quetion, but perhaps you can aid me, what library(s) should I look into, for a VB program to transfer this created hex file to a static address on the micro? Perhaps it's a little ambitious to ask this on here?
I do hope you can help. Many thanks if you can answer any of the above, and perhaps point me towards a large book for further reading!