Search found 44 matches

by lukesky333
Mon Jun 17, 2019 1:48 pm
Forum: Other Boards
Topic: [NUCLEO-F446RE] rshell --> timed out or error in transfer to remote
Replies: 7
Views: 6736

Re: [NUCLEO-F446RE] rshell --> timed out or error in transfer to remote

... "On the F401 I wound up making the files be frozen files." --> I assume this means put uasyncio.py etc into the firmware image (by putting it into ports/stm32/modules or ports/stm32/boards/BOARD/modules depending on your config). This way you don't have to worry about syncing it to your filesys...
by lukesky333
Mon Jun 17, 2019 11:57 am
Forum: Other Boards
Topic: [NUCLEO-F446RE] rshell --> timed out or error in transfer to remote
Replies: 7
Views: 6736

Re: [NUCLEO-F446RE] rshell --> timed out or error in transfer to remote

I ran into this on the F401 as well (when transferring over UART), and I haven't spent the time to figure out what the underlying problem is. I suspect that characters are being dropped on the UART connection. I'll see if I can look into this next week. This used to work, but it might have somethin...
by lukesky333
Fri Jun 14, 2019 10:49 am
Forum: Other Boards
Topic: [NUCLEO-F446RE] rshell --> timed out or error in transfer to remote
Replies: 7
Views: 6736

[NUCLEO-F446RE] rshell --> timed out or error in transfer to remote

Hi, I'm trying to copy the uasyncio library to my NUCLEO-F446RE board (MB1136 C-03). I tried to copy the whole folder, I tried to copy single files -everytime I get the error message: $ rshell -b 115200 -p /dev/ttyACM0 cp -r lib /flash Using buffer-size of 32 Connecting to /dev/ttyACM0 (buffer-size ...
by lukesky333
Fri Jun 14, 2019 10:34 am
Forum: General Discussion and Questions
Topic: Serial - bit banging
Replies: 15
Views: 8801

Re: Serial - bit banging

... Ok I have not yet ever needed to use 9 bit UART so had to do a bit of googling. Seems 9 bit UART on STM32 works by it stores the 9 bits over 2 bytes. The first bytes stores the bottom 8 bits then the second byte stores the 9th bit plus bits reset values of the UART_DR register so you need to us...
by lukesky333
Thu Jun 13, 2019 3:26 pm
Forum: General Discussion and Questions
Topic: Serial - bit banging
Replies: 15
Views: 8801

Re: Serial - bit banging

lukesky333 wrote:
Thu Jun 13, 2019 1:21 pm
What is wrong with the code?

How can I set the M bit in the UART control register
Ok, I've found the mistake...

Code: Select all

d1 = u1.read(2)
I need to read 2 chars to all 9 bits. ;-)

But I still don't see the wakeup bit. How can i do it?
by lukesky333
Thu Jun 13, 2019 1:21 pm
Forum: General Discussion and Questions
Topic: Serial - bit banging
Replies: 15
Views: 8801

Re: Serial - bit banging

... From the reference manual the STM32F407 supports 9 bit serial by setting the M bit in the UART control register UART 9.JPG I've got my NUCLEO-F446RE board and it's running with MicroPython v1.11-37 now. ...so far so good... What is to do to read the serial connection in 9-bit mode? I tried foll...
by lukesky333
Tue Jun 04, 2019 2:52 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 167
Views: 307621

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

mcauser wrote:
Tue Jun 04, 2019 2:43 pm
@lukesky333 board defs updated. Datasheet added to the /docs folder.
Cool, thank you. I've ordered the board and I let you know, what happened. ;-)
by lukesky333
Tue Jun 04, 2019 11:01 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 167
Views: 307621

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

mcauser wrote:
Mon Jun 03, 2019 3:00 pm
Edit: Datasheet received. Will update the board def to match.
Thanks a lot. Could you share the datasheet too?
by lukesky333
Mon Jun 03, 2019 2:47 pm
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 167
Views: 307621

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

@lukesky333 I put together these ones for the board: https://github.com/mcauser/MCUDEV_DEVEBOX_F407VGT6 - 1Mbyte flash https://github.com/mcauser/MCUDEV_DEVEBOX_F407VET6 - 512Kbyte flash Both are 100 pin LQFP chips and it looks like larger flash is the main difference. I guessed some of the pin num...
by lukesky333
Mon Jun 03, 2019 9:37 am
Forum: Other Boards
Topic: MCUDev Black STM32F407VET6 + STM32F407ZET6 dev boards
Replies: 167
Views: 307621

Re: Black STM32F407VET6 + STM32F407ZET6 dev boards

Hi,

I want to buy this board (STM32F407VGT6).

Is it possible to run your version of MicroPython on this board? It seems to be the same like STM32F407VET6, only with more memory.