Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - N0RAMboot games on a stick.

Reply to topic
Author Message
  • Joined: 01 Sep 2018
  • Posts: 25
Reply with quote
N0RAMboot games on a stick.
Post Posted: Sat Jul 13, 2019 10:26 pm
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:
  View user's profile Send private message
  • Joined: 24 Sep 2013
  • Posts: 129
Reply with quote
Post 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.
  View user's profile Send private message Visit poster's website
Reply to topic

Back to the top of this page

Back to SMS Power!