I finally succeeded in getting the STMBL code on a STM32F407 Discovery eval board talking to a Mesa 7I90 via sserial. The final issue was assuming the wrong pin for sserial tx on the F407.
Here is my final summary of everything necessary to replicate what I did, for anybody else trying this. Steps on F407 end: 1. Compile STMBL code following their docs. 2. Plug in F407 Discovery st-link usb cable. 3. Copy obj_boot/blboot.bin to the F407 st-link drive 4. Plug in F407 Discovery otg usb cable (micro-b) 5. Run "make all_btburn", which should give flashing progress 6. Connect F407 ground to 7I90 ground 7. Connect F407 PA0 pin to sserial rx pin on 7I90 8. Connect F407 PA10 pin to sserial tx pin on 7I90 9. Run STMBL servoterm and connect 10. Edit config to have these lines: load sserial sserial0.rt_prio = 2.0 sserial0.frt_prio = 2.0 11. Save config and type "reset" 12. On linuxcnc computer, run "halcmd -I" 13. Type: loadrt hostmot2 loadrt hm2_xxxxx config=" sserial_port_0=0XXXXXXX" I believe this will work with a variety of STM32F4xx chips and boards. It looks like the stock stmbl code is about 303K in size, so a 512K flash cpu is probably the minimum. The stats given by servoterm seem to indicate that cpu usage is low, though, so a slower clock may be OK. I wonder if it would run on the new RPi Pico with modest modifications? Thanks for the help and suggestions from Andy and Peter. -- Ralph _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users