https://open-source-silicon.dev logo
#mpw-2-silicon
Title
# mpw-2-silicon
p

Philipp Gühring

01/28/2023, 11:53 AM
I think I found a problem with the Nucleo board: According to the datasheet, the Nucleo board has 1MB of Flash, but my Nucleo advertises a 3.04MiB USB Mass Storage device, which causes data loss when writing. Can everyone please post their "df" output for /dev/sda or /dev/sdb or whichever the Nucleo Board gets?
d

Dinesh A

01/28/2023, 12:10 PM
dinesha@lenovo-i3-10100-07IMB05:~/workarea/opencore/git/yifive_r0/verilog/dv/hello_world$ df /media/dinesha/NOD_F746ZG Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdb 3100 8 3092 1% /media/dinesha/NOD_F746ZG I am using PBFLASH for programming using "make copy2" command -> I am not facing any issue with this approach.
p

Philipp Gühring

01/28/2023, 12:52 PM
Can you confirm that the datasheet says 1MB of Flash? So how can it provide 3MB of space from 1 MB of Flash and 320 KB of SRAM?
Can you try to copy a 2MB file (which isn't compressible, so something like a JPEG or ...) to the Nucleo, copy it back and see whether it is the same?
d

Dinesh A

01/28/2023, 1:13 PM
I copied two jpeg file 1.4Mb & 1 MB each and copied it back .. files looks be good for me and able open jpeg file also
p

Philipp Gühring

01/28/2023, 1:24 PM
I was also able to copy a 2MB file to it and got it back in good shape, so it likely has 4MB unadvertised DRAM somewhere on the Nucleo board, perhaps in the ST-LINK chip