kgsws / mgb_ips_lcd_osd

12 stars 0 forks source link

Pico probe on mac #1

Open kirkegaard opened 1 year ago

kirkegaard commented 1 year ago

Just some notes on flashing this on a mac using a pico probe.

Youll need a raspberry pico and flash it with the picoprobe using this branch https://github.com/raspberrypi/picoprobe/tree/line_coding Apparently the branch has already been merged into master here: https://github.com/raspberrypi/picoprobe/pull/99

The required packages are in brew and can be installed with brew install sdcc python3. Stcgal, pillow and pyusb can be install via pip3 install stcgal pillow pyusb.

The pico will show up as a serial modem like /dev/tty.usbmodem[NUM] or /dev/cu.usbmodem[NUM]. The kit answers on 9600 baud. Therefor youll need to set both handshake and baud like so:

$ stcgal -b 9600 -l 9600 -o program_eeprom_split=16384 -P auto -p /dev/tty.usbmodem102 flash.ihx

Also: inputs doesnt work without a cartridge inserted! :)

kirkegaard commented 1 year ago

https://github.com/kgsws/mgb_ips_lcd_osd/assets/43752/9f690677-1d93-4083-953e-6789829082c2