Josh wrote[quote='Josh' pid='1634' dateline='1599578925']
Hi Ben,
After you upload the firmware, you need to click the 'refresh' button (circular arrows under 'config') on the Bpod console GUI to see any new modules that have been added. Which protocol are you trying to run, and what is the exact error message you're seeing?
It's fine to use the native port for firmware upload. The programming port should work too - but you'll need to select it separately in the 'boards' AND 'ports' menus in the Arduino IDE.
-Josh
Hi Josh,
I am having the same issue. I am also using the Blink Module code for testing. I was able to successfully upload the sketch (Firmware -> Bpod Shield -> Blink Module) to an Arduino DUE, but the BlinkModule does not show up on the Bpod GUI. Thus, when I run the example protocol here, Matlab prints out an error as the following. If I change the 'BlinkModule1', there is no error but also no response/blink on the Arduino side.
Error using AddState (line 253)
Check spelling of your output actions for state: TriggerBlink.
Error in Scissor_Arm (line 16)
sma = AddState(sma, 'Name', 'TriggerBlink',...
Error in run (line 91)
evalin('caller', strcat(script, ';'));
Error in NewLaunchManager>LaunchProtocol (line 707)
run(ProtocolPath);
Error while evaluating DestroyedObject Callback.
I have tried refreshing the GUI after uploading, but the Module connected to the Bpod Shield still shows up as Serial N.
I am wondering if I missed some critical steps between uploading the sketch and running the protocol.
Also tried to setup the Configure Module USB port on the Bpod GUI. It does not make a difference.
Do you know what might have gone wrong with the process? Please let me know if more information would help.Thanks!
Best,
Miao