Closed edogaldo closed 7 years ago
(1) Custom system level code. No SPL, no Cube other than USB/PCD support
(2) OTA (IAP), preboot checking (gateway to USB/DFU loader, RTC setup).
On Fri, Apr 21, 2017 at 10:55 AM, edogaldo notifications@github.com wrote:
Which is the reference library you rely on? SPL? Cube? A custom one? What's the purpose of "boot_stm32l4xx.c"?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfB3bL5u5e9xJLfDRshJnD7Ia9WGTks5ryN-QgaJpZM4NEi89 .
Thank you! Another question: I was investigating the Reset_Handler and I don't understand the branches targets, i.e.:
b.n 3f
...
bne.n 1b
...
b.n 6f
etc...
What are 1b, 3f, 6f etc.?! they are not labels, are they?!
Which file are you referring to ? boot_stm32l4xx is the preboot code. It that succeeds it branches to the rest reset code which is located somewhere else.
On Fri, Apr 21, 2017 at 11:24 AM, edogaldo notifications@github.com wrote:
Thank you! Another question: I was investigating the Reset_Handler and I don't understand the branches targets, i.e.: b.n 3f ... bne.n 1b ... b.n 6f etc...
What are 1b, 3f, 6f etc.?! they are not labels, are they?!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11#issuecomment-296252411, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfHsKGPCuR_EXzHLxTw4DywFrRxBvks5ryOY7gaJpZM4NEi89 .
Sorry, no, now I'm referring to startup_stm32l476xx.S Il 21/apr/2017 20:07, "Thomas Roell" notifications@github.com ha scritto:
Which file are you referring to ? boot_stm32l4xx is the preboot code. It that succeeds it branches to the rest reset code which is located somewhere else.
On Fri, Apr 21, 2017 at 11:24 AM, edogaldo notifications@github.com wrote:
Thank you! Another question: I was investigating the Reset_Handler and I don't understand the branches targets, i.e.: b.n 3f ... bne.n 1b ... b.n 6f etc...
What are 1b, 3f, 6f etc.?! they are not labels, are they?!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11# issuecomment-296252411, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfHsKGPCuR_ EXzHLxTw4DywFrRxBvks5ryOY7gaJpZM4NEi89 .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11#issuecomment-296262847, or mute the thread https://github.com/notifications/unsubscribe-auth/ATTZbh4RdPBbNHETXu74eMEjLkEHd3bWks5ryPBmgaJpZM4NEi89 .
Ok, those are just normal assembly labels ... 6f == 6th label forward ...
On Fri, Apr 21, 2017 at 12:19 PM, edogaldo notifications@github.com wrote:
Sorry, no, now I'm referring to startup_stm32l476xx.S Il 21/apr/2017 20:07, "Thomas Roell" notifications@github.com ha scritto:
Which file are you referring to ? boot_stm32l4xx is the preboot code. It that succeeds it branches to the rest reset code which is located somewhere else.
On Fri, Apr 21, 2017 at 11:24 AM, edogaldo notifications@github.com wrote:
Thank you! Another question: I was investigating the Reset_Handler and I don't understand the branches targets, i.e.: b.n 3f ... bne.n 1b ... b.n 6f etc...
What are 1b, 3f, 6f etc.?! they are not labels, are they?!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11# issuecomment-296252411, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfHsKGPCuR_ EXzHLxTw4DywFrRxBvks5ryOY7gaJpZM4NEi89 .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11# issuecomment-296262847, or mute the thread https://github.com/notifications/unsubscribe-auth/ ATTZbh4RdPBbNHETXu74eMEjLkEHd3bWks5ryPBmgaJpZM4NEi89 .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11#issuecomment-296265706, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfHz5uXvcZxoqBXruSGtBiyz8bSNxks5ryPMpgaJpZM4NEi89 .
Thank you! I didn't know that notation..
Il 21 Apr 2017 20:47, "Thomas Roell" notifications@github.com ha scritto:
Ok, those are just normal assembly labels ... 6f == 6th label forward ...
On Fri, Apr 21, 2017 at 12:19 PM, edogaldo notifications@github.com wrote:
Sorry, no, now I'm referring to startup_stm32l476xx.S Il 21/apr/2017 20:07, "Thomas Roell" notifications@github.com ha scritto:
Which file are you referring to ? boot_stm32l4xx is the preboot code. It that succeeds it branches to the rest reset code which is located somewhere else.
On Fri, Apr 21, 2017 at 11:24 AM, edogaldo notifications@github.com wrote:
Thank you! Another question: I was investigating the Reset_Handler and I don't understand the branches targets, i.e.: b.n 3f ... bne.n 1b ... b.n 6f etc...
What are 1b, 3f, 6f etc.?! they are not labels, are they?!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11# issuecomment-296252411, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfHsKGPCuR_ EXzHLxTw4DywFrRxBvks5ryOY7gaJpZM4NEi89 .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11# issuecomment-296262847,
or mute the thread https://github.com/notifications/unsubscribe-auth/ ATTZbh4RdPBbNHETXu74eMEjLkEHd3bWks5ryPBmgaJpZM4NEi89 .
—
You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11# issuecomment-296265706, or mute the thread https://github.com/notifications/unsubscribe-auth/ AG4QfHz5uXvcZxoqBXruSGtBiyz8bSNxks5ryPMpgaJpZM4NEi89
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/11#issuecomment-296272931, or mute the thread https://github.com/notifications/unsubscribe-auth/ATTZbjHzWp_nCJoHQabPlUKWHgPis2_sks5ryPm4gaJpZM4NEi89 .
Which is the reference library you rely on? Cube? A custom one? What's the purpose of "boot_stm32l4xx.c"?