Which is why the flashing code doesn’t make sense to me. Since flashing replaces all the code in the micro controller, and the only code in the hex file is the code from the gps module, that seems to be a problem to me, which is why I’m asking.
Or is the code posted in the hex file both the gps code and all the other code which makes up the micro controller firmware? If so, I would expect it to be larger. The hexfile for the posted gps code is ~59k, whereas the image.bin that the firmware uploaded processes is ~4.9M.
Don’t we need a hexfile of the entire image to push to the part? If so, how/where can we build it, given that we only have source for the gps driver? If not, and a hexfile which only has 1 subsystem (in this case gps), how does the 8266 code distinguish between writing the GPS code vs. the NFC code (which is what the original post here indicates in the code)?
Wait a minute - is this flashing procedure what I do to the GPS part itself, and not the rephone 2502 part? If that’s the case, then I understand the issue - I am erasing and flashing all of the flash on the GPS part. The directions did not make it clear that the code lived in the GPS part, I thought I was trying to flash the rephone part itself.