Hi all,
Just got the pyboard.
My laptop recognized it immediately.
1. After I modify main.py, how can I execute it? should not it be executed automatically?
2. In device manager, I see that pyboard com is recognized as USD Serial Device and not Pyboard usb comm port (as mentioned in the link: http://micropython.org/resources/Micro- ... -setup.pdf), Is it a problem?
3. in pyCharm, how do I download the program to the device? and how can I execute it? (already installed microPython for pycharm)
4. in pyCharm, tools->MicroPython->MicroPython REPL. when I select it I get the following msg:
Device path E:\
Found the device, but could not connect via port 'E:\\': could not open port 'E:\\': FileNotFoundError(2, 'The system cannot find the path specified.', None, 3)
I'm not sure what to suggest.
Press ENTER to continue
can anyone help me with the issues above?
Thanks
Alex
First Connect
Re: First Connect
1. Success to run something by editing main.py.
but after it I get a message:
"The file or directory \main.py is corrupt and unreadable.
Please run the Chkdsk utility.
Chkdsk utility deletes the file.
the same happens if I modify boot.py
why?
but after it I get a message:
"The file or directory \main.py is corrupt and unreadable.
Please run the Chkdsk utility.
Chkdsk utility deletes the file.
the same happens if I modify boot.py
why?
Re: First Connect
The problem lies in the caching of the file system by the PC. After modifying the files on Pyboard, make sure that all chnages are written back. You can do that by closing the disk on the PyBoard. On Linux systems, you can also run the command 'sync' .
Mounting the PyBoard file system on a PC is so much prone to trouble, that may people don't do that any more. They use tools like rshell of ampy to copy filen in and out of PyBoard.
Mounting the PyBoard file system on a PC is so much prone to trouble, that may people don't do that any more. They use tools like rshell of ampy to copy filen in and out of PyBoard.