Go to advanced search

by weshmek
Wed Sep 25, 2013 2:45 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi: Transfer to C code
Replies: 3
Views: 1557

Re: Baking Pi: Transfer to C code

you used a branch instead of branch link to get to kmain, so when kmain returns it could/should crash. did you setup the stack before you called C the first time? kmain() calls blink() one time I dont see any loops so maybe there is something I am missing, were you wanting to call blink more than o...
by weshmek
Wed Sep 25, 2013 2:22 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi: Transfer to C code
Replies: 3
Views: 1557

Re: Baking Pi: Transfer to C code

you used a branch instead of branch link to get to kmain, so when kmain returns it could/should crash. did you setup the stack before you called C the first time? kmain() calls blink() one time I dont see any loops so maybe there is something I am missing, were you wanting to call blink more than o...
by weshmek
Wed Sep 25, 2013 2:07 pm
Forum: Bare metal, Assembly language
Topic: Baking Pi: Transfer to C code
Replies: 3
Views: 1557

Baking Pi: Transfer to C code

Hi, I just finished OK02 in the Baking Pi tutorial. I can now make the LED blink on and off. So I wrote an assembly program "blink" to make the LED blink x times, where x is the value passed in r0. I also tried transferring control to C code, since this is obviously a good step towards increased pro...
by weshmek
Sun Aug 11, 2013 8:48 pm
Forum: General discussion
Topic: STICKY: Introduce yourself!
Replies: 3775
Views: 244188

Re: Introduce yourself!

I'm Wesley. I'm a third-year Computer Science student with the University of Waterloo.

In Spring 2013, I took an Operating Systems course, and fell in love with low-level development.

I hope to port the OS we used in that course to Raspberry Pi.

Go to advanced search