This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32 In assembler

Will someone make my day. Is it possible to start a project in pure assembler using the STM32_st start up file?

I want to be able to define my variables and set up my ROM addresses and proceed as I would in ordinary assembler. I do not know C and I really do not think I can learn.

If it is straight forward and a kind soul can provide me what I want there will be a reward. I have an unused STM-SK demo board with display and can spare 6 samples of STM32F103BT6 - (M32F103RBT$A2) in PQFP form. They were free but they may be a bit rare, I got them direct from ST. The catch with the Demo board is I bought it for IAR but it does support Jtag. I will pay for the postage by express too.

Any offers?

Parents
  • Is it possible to start a project in pure assembler using the STM32_st start up file?

    You mean STM32F10x.s? Of course it is possible. Just add only assembler files in your project.

    You probably don't want to hear this, but I'll say it anyway: Assembler is not the right language for writing any serious program. That said, I do admit that it is fine for learning a new microcontroller. I have been studying STM32 myself by writing a small real time scheduler in assembler. And the Keil simulator is a great tool for checking your code.

    I'm not intereseted in your 'reward'. I do have a Raisonance STM32 Primer, which is enough for me. This time of year I have anyway better things to do than play with demo boards. Perhaps someone else is interested..

Reply
  • Is it possible to start a project in pure assembler using the STM32_st start up file?

    You mean STM32F10x.s? Of course it is possible. Just add only assembler files in your project.

    You probably don't want to hear this, but I'll say it anyway: Assembler is not the right language for writing any serious program. That said, I do admit that it is fine for learning a new microcontroller. I have been studying STM32 myself by writing a small real time scheduler in assembler. And the Keil simulator is a great tool for checking your code.

    I'm not intereseted in your 'reward'. I do have a Raisonance STM32 Primer, which is enough for me. This time of year I have anyway better things to do than play with demo boards. Perhaps someone else is interested..

Children
No data