Search found 58 matches

by lnsri22
Sat Feb 16, 2019 7:39 am
Forum: General Discussion and Questions
Topic: understanding the generation of firmware0.bin and 1.bin
Replies: 6
Views: 123

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

Dave, Let me put things in clear manner so that you could really get to know what am I doing actually. 1. I have a custom bootloader written in C that resides @ 0x08000000. 2. I have modified the linker script to consider the flash starting address to be 0x08008000, where I have put up the file syst...
by lnsri22
Sat Feb 16, 2019 5:10 am
Forum: General Discussion and Questions
Topic: understanding the generation of firmware0.bin and 1.bin
Replies: 6
Views: 123

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

Dave, while updating falsh, I'm not running the firmware from it. I have a separate bootloader to get this done @0x08000000 of (32 K size) Thanks again for the hint there. Shall I still use "USE_MBOOT=1" to get a single firmware image and use that to be uploaded ota? I'm assuming that the space occu...
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: 247

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: 123

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: 123

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: 247

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: 81

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: 247

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: 44

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 ...