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
Matt Venn
01/19/2024, 12:32 PM
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
htamas
01/19/2024, 5:33 PM
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
Anton Maurovic
01/20/2024, 6:10 AM
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
Anish
01/20/2024, 8:49 AM
using hkdebug to directly interface with the IOs using the monitored interface is pretty handy I'd think
Anish
01/20/2024, 8:49 AM
doing that via Python from a host computer was definitely easier than trying to do it from firmware in my experience