• Hard fault when branching to main
    Hi, I am working in a C++ project for STM3210C-Eval Board (Cortex-M3). I wrote some classes and got the project working perfectly. Then I designed other classes to increment project functionalities...
  • Unexpected port direction change
    Hi, I was using LPC2378's pin SSEL1 P0.6 (SSP1 peripheral, slave select) in GPIO mode while I discovered (to me) weird behaviour. Note I had switched on the fast IO before I did any experiments....
  • Tags for Branch
    Going through the tutorial, my code: AREA MyFirstExample, Code, ReadOnly ENTRY MOV r0,#4 MOV r1,#5 ADD r2,r0,r1 S B S END When I build I get the following error: MyFirstExample...
  • Branching to __main
    Hey guys, does someone knows why a branching to __main from the reset handler can causes the program to stop execution at a breakpoint. It branches fine to main but the __main scatter initialisation...
  • BRANCHING INSTRUCTION
    Dear All, I am trying to add a boot loader for my LPC2478 based application. I want to conditionally Branch to my main code at 0x1000 from the boot loader code. When i tried from Startup.s as below...