Search found 66 matches

by lnsri22
Sat Feb 16, 2019 4:55 am
Forum: General Discussion and Questions
Topic: Understanding Fatal Error with respect to STM32
Replies: 9
Views: 557

Re: Understanding Fatal Error with respect to STM32

Dave,

I am about to try this.

Will update you once I'm done with this

Thanks again!!
by lnsri22
Sat Feb 16, 2019 4:54 am
Forum: General Discussion and Questions
Topic: understanding the generation of firmware0.bin and 1.bin
Replies: 6
Views: 332

Re: understanding the generation of firmware0.bin and 1.bin

Dave!! Thank you for the reply. I am getting this weird EINVAL22 at times while using SD Card in my custom hw(uses stm32 port). I have been basically trying to do a FOTA with the GSM module as described below 1. Download firmware0.bin to 0x08020000 and firmware1.bin to 0x08040000 in-house using STM3...
by lnsri22
Fri Feb 15, 2019 7:25 am
Forum: General Discussion and Questions
Topic: understanding the generation of firmware0.bin and 1.bin
Replies: 6
Views: 332

understanding the generation of firmware0.bin and 1.bin

Hello Everyone!!


I'm so curious to know what the are source files that (when the contents changed) contributes to modification of firmware0.bin and what those does so to firmware1.bin.

FYI : I have been using STM32 port of micropython.

Thanks in advance!!
by lnsri22
Sun Feb 10, 2019 7:04 am
Forum: General Discussion and Questions
Topic: Understanding Fatal Error with respect to STM32
Replies: 9
Views: 557

Re: Understanding Fatal Error with respect to STM32

Thanks Dave for the quick reply!! :)

Let me look into it. But Dave, How do i get the info on file and line number ?? :roll:
by lnsri22
Sat Feb 09, 2019 1:04 pm
Forum: General Discussion and Questions
Topic: understanding read_buf_len in pyb.UART
Replies: 2
Views: 201

understanding read_buf_len in pyb.UART

Hello Everyone!!

I have a question with respect to UART in pyb class.

Referring to the following picture, where from the buffer size is allocated for the parameter read_buf_len.

Is it from RAM?


I'm so sorry if my question doesn't make sense.
by lnsri22
Sat Feb 09, 2019 11:46 am
Forum: General Discussion and Questions
Topic: Understanding Fatal Error with respect to STM32
Replies: 9
Views: 557

Re: Understanding Fatal Error with respect to STM32

Hi Maksym!! Thought of giving it a try and finally got the output It is MemoryError: memory allocation failed, allocating 31655 bytes MicroPython 8dc4982-dirty on 2019-02-09; MySTM with STM32F405VG Type "help()" for more information. This happens at random time intervals after restart. What am I mis...
by lnsri22
Thu Feb 07, 2019 3:02 pm
Forum: General Discussion and Questions
Topic: OSError EINVAL when trying to open a file in pyboard like hw
Replies: 0
Views: 139

OSError EINVAL when trying to open a file in pyboard like hw

Hello Everyone!! I have done a custom bootloader for stm32f405vg using IAR workbench. Inside the bootloader, I do the following. 1. Mount a SD card 2. Check for a file named "KTT.bin" in that using fr = f_open(&SDFile, CONF_FILENAME, FA_READ); which returns FatFs Error 4 (FR_NO_FILE) in the absence ...
by lnsri22
Sat Feb 02, 2019 7:12 am
Forum: MicroPython pyboard
Topic: frozen module not imported in PyBoard like hw
Replies: 6
Views: 304

Re: frozen module not imported in PyBoard like hw

In order to execute a frozen main.py or boot.py then you need to modify main.c to do something like this: https://github.com/micropython/micropython/blob/67689bfd7e28df8d4fa23c8f25065aeb0b9d9658/ports/teensy/main.c#L315 The current main.c will only execute main.py from a filesystem, not as a frozen...
by lnsri22
Sat Feb 02, 2019 6:20 am
Forum: MicroPython pyboard
Topic: frozen module not imported in PyBoard like hw
Replies: 6
Views: 304

Re: frozen module not imported in PyBoard like hw

In order to execute a frozen main.py or boot.py then you need to modify main.c to do something like this: https://github.com/micropython/micropython/blob/67689bfd7e28df8d4fa23c8f25065aeb0b9d9658/ports/teensy/main.c#L315 The current main.c will only execute main.py from a filesystem, not as a frozen...