Search found 75 matches

by lnsri22
Fri Feb 01, 2019 5:18 pm
Forum: MicroPython pyboard
Topic: frozen module not imported in PyBoard like hw
Replies: 6
Views: 3876

Re: frozen module not imported in PyBoard like hw

Thanks 🙏🙇 Dave!!

Let me give it a try and update you. But this was somehow running earlier when firmware0 and firmware1 were put in their default spaces. I mean (0*08000000) and (0*08020000) respectively.
by lnsri22
Fri Feb 01, 2019 9:47 am
Forum: General Discussion and Questions
Topic: understanding reset_modes in ports/stm32/main.c
Replies: 1
Views: 1519

understanding reset_modes in ports/stm32/main.c

Hello Everyone!!

I am just trying to understand what "reset_mode" is and what are the impacts of this on boot (flow of main.c) specifically for stm32 port.

It would be of a great help, if someone could point me out the right direction in understanding the flow of main.c



Many thanks!!
by lnsri22
Fri Feb 01, 2019 8:36 am
Forum: MicroPython pyboard
Topic: frozen module not imported in PyBoard like hw
Replies: 6
Views: 3876

frozen module not imported in PyBoard like hw

Hello Everyone!! I have made my main.py a frozen module and my frozen module directory is "modules" I have put up main.py in drivers directory and have created a symbolic link to that file in modules I have modified main.c like this // Run the main script from the current directory. if ((reset_mode ...
by lnsri22
Fri Feb 01, 2019 7:48 am
Forum: General Discussion and Questions
Topic: filesystem not mounted on custom hw using stm32f405vg
Replies: 2
Views: 2181

Re: filesystem not mounted on custom hw using stm32f405vg

Thanks Dave for the quick reply !! I took a look into it and changed the file accordingly. But it didn't help either. My modifications to the file : #if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx) #define CACHE_MEM_START_ADDR (0x10000000) // CCM data RAM, 64k #define FLASH_S...
by lnsri22
Thu Jan 31, 2019 2:37 pm
Forum: General Discussion and Questions
Topic: filesystem not mounted on custom hw using stm32f405vg
Replies: 2
Views: 2181

filesystem not mounted on custom hw using stm32f405vg

Hello Everyone!! I have done a custom bootloader for my custom hw using the stm32 series stm32f405vgt6. The bootloader resides at 0x08000000 (32K space has been allocated out of which 25K is the bootloader) Firmware0.bin resides at 0x08008000 (16K space has been allocated) Filesystem resides at 0x08...
by lnsri22
Thu Jan 31, 2019 7:37 am
Forum: General Discussion and Questions
Topic: Understanding the difference between bootloaders mboot and hw dfu
Replies: 13
Views: 9767

Re: Understanding the difference between bootloaders mboot and hw dfu

Cheers!!


Thanks to Dave for all his patience in answering these questions :D
by lnsri22
Sat Jan 26, 2019 1:49 pm
Forum: MicroPython pyboard
Topic: bluetooth and pyboard
Replies: 1
Views: 1704

Re: bluetooth and pyboard

Hi!!

It would be great, if you could share some more info,

What HW are you using?, what is the bluetooth protocol? etc
by lnsri22
Sat Jan 26, 2019 9:36 am
Forum: General Discussion and Questions
Topic: Definitions for internal functions
Replies: 2
Views: 1882

Re: Definitions for internal functions

Thanks for the reference :)

I will give it a try and let you know

Cheers!!
by lnsri22
Sat Jan 26, 2019 6:25 am
Forum: General Discussion and Questions
Topic: Definitions for internal functions
Replies: 2
Views: 1882

Definitions for internal functions

Hello Everyone!!

Where can I find the definitions for internal class functions (eg : uart.readinto) in the repo??



Thanks in advance!!
by lnsri22
Fri Jan 25, 2019 2:24 pm
Forum: MicroPython pyboard
Topic: working with UART and Bytearrays
Replies: 29
Views: 42312

Re: working with UART and Bytearrays

Hi Dave and Peter!! I am facing this issue of the byte order being changed or the bytearray is partially updated. I am trying to interface a liquid level sensor that outputs a packet of length 9 bytes every 3 seconds. '3E' being the start byte of the packet, various bytes represent the temperature a...