-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large file copied on PSoC6 using Arduino LAB is not saved; file is empty!!! #68
Comments
Hi @Antonia-place , Could you please try using the mpremote and let us know if it still does not work for you? I tried the same and I confirm that Arduino Lab for MPY is failing as well. Meanwhile, I will check on this and get back. Thanks and Regards, |
Hello, For transfer I used the same file like in the first post of this issue. Thank you for support, |
Hi @Antonia-place, We need to further explore this issue. A first guess could be:
While we find some time to further check I suggest you try splitting the file in several? and check memory size? Thanks for your patience. |
Hello, I verified the memory ocupated from PS0C6 and from am RPI PICO after the file was trafered. I know that I can fragment my code in pieces, but for this particular project, it is hard to me to split my code because I have to work a lot with some Nokia5110 displays and I have to draw a lot of thing and this take a lot of lines of code... It is any posibility to enable some traces/logs in microPython or in Arduino LAB when the file transfer is in progress? Maybe we can find the issue... Thank you for support, |
Hello, Thank you, |
Hi Antonio, Thank you for sharing the details and letting us know this is still a problem. We did not find any obvious reasons for this issue so far. Please allow us some more time as we want to do some more tests for our port and understand this in detail. We will get back to you on this! Thank you for your patience and contributions! Thanks and Regards, |
Hi @Antonia-place, This issue should be now fixed in v.0.6.0 for CY8CPROTO-062-4343W board. Regards, |
Hello,
Today I try to copy a large file into PSoC6 board, using Arduinl LAb version 0.8.0 and the copied file is empty after the copy process
was finished. Moreover, the copying process take aprox. 9 minutes ( and for 2 minutes remain "blocked" at 22%). It is OK this large time for copying the file?
Here is all the steps used for repro:
step 01: prepare a file with more than 2500 lines (2588); See attached file "Program_02.py"
step 02: copy this file (Program_02.py) into PSoC6 using Arduino Lab; this action take aprox. 9 minutes (stay 2 minutes at 22%);
step 03: after file was copied, press Run (from Arduino LAB0 and observe console output;
step 04: try to select other file from PSoC (on board, I have other small files saved); in this moment, Arduino LAB is blocked and can not be used;
step 05: reset PSoC6 board; after that, Arduino Lab remain blocked and can not be used;
step 06: close Arduino LAB;
step 07: open again Arduino LAB, connect it to the PSoC6 board and select the filed copied erlier, named Program_02.py and observe: the file is empty and the capacity is 0 bits!!!
Attached you will find: code used for test (this code is not working because is not complete, but at least should be copied on PSoC6 board):
Program_02.zip
Image from the copy process:
Image with console output after the copy process is done and Run button was pressed:
Image from PSoC6 after the MCU was reseted (see step 04, 05, 06 and 07), where the saved file is empty:
Please verify this on your side. On my side, I done this more than 3 times, with several files and the behaviou was the same: saved file is empty.
Moreover, do you have any news regarding to Thonny and large files? This question is related to this discussion: #62
Thank you for support,
Mihai
The text was updated successfully, but these errors were encountered: