Search found 75 matches

by lnsri22
Tue Jan 22, 2019 7:35 am
Forum: General Discussion and Questions
Topic: Print statement management in micropython
Replies: 2
Views: 2188

Print statement management in micropython

Hello Everyone!! Please excuse me , if this question seems a bit foolish!! I am just trying to understand the memory management in MicroPython. As a part of it, I am putting this question here. What happens when I put bunch of print statements in my coroutines (I have nearly 10 coros running at diff...
by lnsri22
Tue Jan 22, 2019 4:50 am
Forum: General Discussion and Questions
Topic: Understanding Fatal Error with respect to STM32
Replies: 9
Views: 6425

Re: Understanding Fatal Error with respect to STM32

Hi Maksym, Thanks for reply there!! I'm not sure about the particularity of the error. But all I could see is that the LED (on-board) toggle in a specific pattern(I have made the custom hardware have only one LED for indicating CPU heart-beat( which is actually RED Led in pyboard I mean the hardware...
by lnsri22
Sun Jan 20, 2019 9:06 am
Forum: General Discussion and Questions
Topic: Understanding the difference between bootloaders mboot and hw dfu
Replies: 13
Views: 9769

Re: Understanding the difference between bootloaders mboot and hw dfu

Thanks Dave!! Got it working. Would like to present a scenario here. What actually happening was , for some reason, the memory space 0x08008000 got erased, hence the application didn't show up despite being loaded correctly. Now, I have write protected the boot-loader space as well as the ISR space ...
by lnsri22
Sun Jan 20, 2019 5:09 am
Forum: General Discussion and Questions
Topic: Understanding the difference between bootloaders mboot and hw dfu
Replies: 13
Views: 9769

Re: Understanding the difference between bootloaders mboot and hw dfu

Dave, Thanks for the reply there!! Thank you so much for the clarity on this. I understand that I should not subtract '1' from the offset. But this doesn't seem to cause any exception as the processor remains silent after the jump statement is executed!! (behaves the same way even after removing '-1...
by lnsri22
Sat Jan 19, 2019 6:45 am
Forum: General Discussion and Questions
Topic: Understanding Fatal Error with respect to STM32
Replies: 9
Views: 6425

Understanding Fatal Error with respect to STM32

Hello Everyone!! I have got running micropython in my custom hw based on stm32.(As of now using pyb module completely) I have implemented uasyncio to run some coros so as to get data from different sensors at different time frames, amongst sending data to server. What happens is that the controller ...
by lnsri22
Sat Jan 19, 2019 6:08 am
Forum: General Discussion and Questions
Topic: Understanding the difference between bootloaders mboot and hw dfu
Replies: 13
Views: 9769

Re: Understanding the difference between bootloaders mboot and hw dfu

Thanks again Dave for the clear picture!! I am always getting the Reset_Handler address +1 as a return value from the below. Hence I have manually compensated it by subtracting '1' from the value as below. This way, now the hw restarts infinitely and enters the bootloader again and again. This is wh...
by lnsri22
Fri Jan 18, 2019 11:27 am
Forum: General Discussion and Questions
Topic: Understanding the difference between bootloaders mboot and hw dfu
Replies: 13
Views: 9769

Re: Understanding the difference between bootloaders mboot and hw dfu

Thank you so much Dave !! By the way, I have reached half-way, implementing a custom bootloader for my custom hw. I have my bootloader in 0x08000000 . This looks for a bin file in sd card on startup and if the fie is present , it erases the flash memory from 0x08020000 upto 11th sector (I'm using ST...
by lnsri22
Wed Jan 02, 2019 4:10 pm
Forum: General Discussion and Questions
Topic: Understanding the difference between bootloaders mboot and hw dfu
Replies: 13
Views: 9769

Re: Understanding the difference between bootloaders mboot and hw dfu

Hi Dave!!, I am trying to modify the mboot configuration in order to suit my ota needs. Which approach would be better? A) Using a bootloader like this : https://github.com/akospasztor/stm32-bootloader or B) trying something like this as Damien has suggested https://github.com/micropython/micropytho...
by lnsri22
Mon Dec 31, 2018 11:02 am
Forum: General Discussion and Questions
Topic: Automatically sync with the origin - micropython/micropython
Replies: 4
Views: 2664

Re: Automatically sync with the origin - micropython/micropython

Hi Dave, Thanks Again!! Sorry to put this question here. I have been using micropython to develop my own hardware. I'm a bit new to these concepts(forking, syncing ). Would the changes I do or a new library I develop be synced automatically to origin (micropython/micropython) (this couldn't be done,...