<@U02Q5NCBMC5>, how did you solve the below issue,...
# mpw-2-silicon
p
@proppy, how did you solve the below issue, and made the make run command to produce at least SRAM not found? I tried in windows, atleast my IO configuration started and failed in SRAM not found issue. But in my linux system I'm getting the same error as below.
Copy code
(env) nucleo 🍑 make run
mpremote connect /dev/ttyACM0 exec "import machine; machine.reset()"
MicroPython v1.19.1-616-g5987130af-dirty on 2022-11-20; NUCLEO-F746ZG with STM32F746
Type "help()" for more information.
>>>
For some reason I am not able to import the io_config file for some reason, it say no module found. Which means this is also not working for me "_mpremote connect ${DEV} exec "import io_config; io_config.run()"_"
p
mpremote ls
?
sometime the filesystem just get wiped for no reason
p
Yes it gets wiped, when I do make copy2 or make F746ZG, either gets the directory wiped off with a FAIL.txt
I tried to put in files manually and as soon as I put the config_io_o.hex , this wipe off happens. But I also tried to do "_mpremote connect ${DEV} exec "import io_config; io_config.run()"_" without putting this particular hex file, and the "make run" command doesn't even respond, like I wasn't even seeing the shell interpreter if I do the above, which was up before.
@Dinesh A Any help on this?
p
I ended up using
copy_rshell
instead
for me it was more reliable than
copy
and
copy2
p
Hmm, ok so your files have been parsed to the USB folder without any issues/ wipe off like before, by using copy_rshell?
p
so copy_rshell don't copy file over the usb storage
it copy them thru the micropython interface
πŸ‘ 1
I didn't manage to copy file thru the USB folder interface.
d
I am using thonny (Python IDE) - https://thonny.org/ which work directly with .py file and feeling more comfortable than mpremote based approach.
I have taken logic analyzer capture at caravel flash interface. I am suspecting around Flash memory CS#.
πŸ‘ 1
p
@Dinesh A, seems like MATT Venn was able to get rid of the SRAM issue, by also using the other USB micro-B port in the Nucleo board (CN13). Try to copy the files to this folder, not to the CN1 USB folder.
More comments from the meeting is posted I guess. And Matt Venn, will be releasing a short video on describing this sometime soon.
d
@proppy I am not using Powered USB Hub, But I am using desktop based USB port.
p
@Dinesh A yep, I have a similar setup: I'll try tomorrow with both a usb-powered hub and also with an external power supply (on
E5V
) and report here.
y
@proppy so you are running
Copy code
copy: compile
    mpremote connect ${DEV} cp flash.mpy i2c.mpy gpio_config_builder.mpy nucleo_api.mpy gpio_config_def.mpy :
    mpremote connect ${DEV} cp config_io_o.hex :
    mpremote connect ${DEV} cp io_config.mpy :
    mpremote connect ${DEV} cp main.py :
    mpremote connect ${DEV} ls :
this copy command from the makefile??
p
I was using the rshell commented variant
a better USB cable for me seem to have done the trick
y
Okay.. for me that doesn't get past 7% of the first file. I am using the cable that came with the nucleo.
p
Did you try the copy_rshell method?
That part
y
Yes. Make copy2 and make F746 copy them perfectly, but not the rshell one. Since all 8 of my chips get stuck on the SRAM not found error i strongly feel there is some issue with the way the firmware is loaded onto the nucleo.
p
Alternately you can connect the USB port on the other side and update the mount point in the Makefile
Then
make copy2
should work
What's your USB cable / hub situation is looking like?
y
i dont have a USB hub and for the rest of the settup I am following Matt's video.
With all chips i get stuck at the Sram not found error. And all the physical connections look perfect as I have checked the continuity for all traces. And apart from this I tried it on 2 different Laptops.
p
Did you try a different USB cable?
y
Yes , I have tried way too many permutations combinations at this point πŸ˜