|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Author | Message |
---|---|
|
N0RAMboot games on a stick.
Posted: Sat Jul 13, 2019 10:26 pm
|
Hello,
I am trying to make boot sticks for N0RAMBoot using a Arduino. I have the hardware CAD:d out but now the software needs some debugging. I have implemented xmodem (checksum version) but I can't get xmodem-crc to work. Please have a look: https://github.com/MrSVCD/N0RAMBoot-stick |
|
|
Posted: Sun Jul 14, 2019 10:37 am |
Try completing a transfer against Teraterm. The most common errors I found implementing XMODEM myself are a wrong CRC polynome (Using PyCRC you can generate C source code for use with Arduino using the --model=xmodem option).
The second most common error is the endianness of CRC, I recall it is Big Endian as xmodex-boot.S reads CRC 'H' byte first. Also, the first packet request starts with a 'C' character, while all the subsequent ones use a 'ACK/NACK' character. |
|