Also, I'm going to do a session on chip bringup at...
# mpw-6plus-silicon
m
Also, I'm going to do a session on chip bringup at the next Efabless webinar. What kind of things do you want me to demonstrate?
👍 1
I'm thinking show: • simple firmware to toggle leds • flashing firmware and check it's working • use hkdebug to get chip id information • use hkdebug to enable / setup PLL • send serial data from caravel to the host PC • use the logic analyser • use the wishbone bus Anything else that would be useful?
h
If there is enough time, I would add * use hkdebug to reboot caravel without disconnecting usb * reconfigure the io pads * use the bidirectional/monitored modes to access io_in/io_out from firmware * make PLL setup persistent by writing the registers from firmware * use an external clock via xclk and the J6 jumper * receive serial data from the host
👍 1
a
Maybe worth a mention: old firmware API (direct named register reads/writes) vs. new (function calls as abstractions) -- are both usable on MPW6 (and all since)? I gather the new API, e.g. with
GPIOs_configure(…)
, is strongly recommended
a
using hkdebug to directly interface with the IOs using the monitored interface is pretty handy I'd think
doing that via Python from a host computer was definitely easier than trying to do it from firmware in my experience