Search found 29 matches

by federico
Mon Sep 14, 2020 10:24 am
Forum: Other Boards
Topic: W600-PICO region FLASH overflowed
Replies: 13
Views: 424

Re: W600-PICO region FLASH overflowed

Minor change to Makefile in micropython/port/w60x directory. To avoid a wrong output by the function w600.version() due to 2M Flash size setting it is sufficient to change the Makefile line 347 from: CFLAG += -DW60X_USE_2M_FLASH=1 to: CFLAG += -DW60X_USE_1M_FLASH=1 as clearly shown in the attached p...
by federico
Wed Sep 02, 2020 7:56 pm
Forum: Other Boards
Topic: nrf52840 DK PCA10056 (could not enter raw REPL)
Replies: 5
Views: 268

Re: nrf52840 DK PCA10056 (could not enter raw REPL)

I have upgraded my pyboard.py version with the last one on github ( doesn't require the ampy support) - I newly have changed the enter_raw_repl() in the Pyboard class and simulated your requirement as from the attachment - without any problem -
pyboard_last_copy_light_py.PNG
pyboard.py last version
pyboard_last_copy_light_py.PNG (87.59 KiB) Viewed 140 times
by federico
Wed Sep 02, 2020 1:23 am
Forum: Other Boards
Topic: nrf52840 DK PCA10056 (could not enter raw REPL)
Replies: 5
Views: 268

Re: nrf52840 DK PCA10056 (could not enter raw REPL)

We have from the following address the correct syntax to copy a file to the board: https://docs.micropython.org/en/latest/reference/pyboard.py.html The cp command uses a ssh-like convention for referring to local and remote files. Any path starting with a : will be interpreted as on the device, othe...
by federico
Tue Sep 01, 2020 9:00 pm
Forum: Other Boards
Topic: nrf52840 DK PCA10056 (could not enter raw REPL)
Replies: 5
Views: 268

Re: nrf52840 DK PCA10056 (could not enter raw REPL)

From the attachment 1,2,3,4,5 we have a practical demonstration about the results of interaction with an W600-PICO board, by an unchanged pyboard.py and an changed one.
The traceback says that the problem arise from the enter_raw_repl method defined in the class Pyboard ( line 192 of pyboard.py).
by federico
Tue Sep 01, 2020 1:43 am
Forum: Other Boards
Topic: nrf52840 DK PCA10056 (could not enter raw REPL)
Replies: 5
Views: 268

Re: nrf52840 DK PCA10056 (could not enter raw REPL)

This is the involved method :
def enter_raw_repl(self)

where the changes are commented
enter_raw_repl.png
def enter_raw_repl(self)
enter_raw_repl.png (162.17 KiB) Viewed 199 times
by federico
Sun Aug 30, 2020 10:28 am
Forum: Other Boards
Topic: nrf52840 DK PCA10056 (could not enter raw REPL)
Replies: 5
Views: 268

Re: nrf52840 DK PCA10056 (could not enter raw REPL)

I don't know if the following trial will solve your problem, anyway give it an chance. I suggest the following trial involving the substitution of your pyboard.py ( after a safety backup of the same) Why ? Please, read from: https://bigl.es/microcontroller-monday-wemos-w600-pico/ pyboard.py - this v...
by federico
Fri Aug 28, 2020 5:03 pm
Forum: Other Boards
Topic: W600-PICO region FLASH overflowed
Replies: 13
Views: 424

Re: W600-PICO region FLASH overflowed

download_fls.PNG
fls image download
download_fls.PNG (77 KiB) Viewed 119 times
by federico
Fri Aug 28, 2020 5:00 pm
Forum: Other Boards
Topic: W600-PICO region FLASH overflowed
Replies: 13
Views: 424

Re: W600-PICO region FLASH overflowed

machine_uart_rhh_OK.png
wm_tool
machine_uart_rhh_OK.png (132.61 KiB) Viewed 121 times
wm_tool.exe must be copied from WM_SDK/Tools to micropython_rhh/ports/w60x/tools
by federico
Fri Aug 28, 2020 4:52 pm
Forum: Other Boards
Topic: W600-PICO region FLASH overflowed
Replies: 13
Views: 424

Re: W600-PICO region FLASH overflowed

note regarding wm_tool.exe
machine_uart_rhh_OK.png
wm_tool.exe
machine_uart_rhh_OK.png (132.61 KiB) Viewed 162 times
by federico
Thu Aug 27, 2020 6:31 pm
Forum: Other Boards
Topic: W600-PICO region FLASH overflowed
Replies: 13
Views: 424

Re: W600-PICO region FLASH overflowed

I know that doesn't exist any relation between the substitution of machine_uart.c and the user space on the flash - may be that my explanation wasn't sufficiently clear- excuse me- I confirm that the increase in user space is due to the modification you made to the file hal / modflash.c After making...