If you are using a Pi 3B+ have you modified your code to account for the fact the ACT LED is now on GPIO 29 instead?Chiggleniggle wrote: ↑Sun Jun 10, 2018 11:23 amI just got a Raspberry Pi 3 B+ and wanted to do the Baking Pi tutorial http://www.cl.cam.ac.uk/projects/raspbe ... /ok01.html
After having some issues i discovered this thread viewtopic.php?t=82871 and did exactly the same but it doesnt work for me.
Code: Select all
.section .init .globl _start _start: // GPIO Controller Address ldr r0,=0x20200000 // ACT LED is Pin 29 mov r1,#1 // 29: lsl r1,#27 // 9 * 3 = 27 str r1,[r0,#8] // 2 * 4 = 8 mov r1,#1 lsl r1,#29 // Pin 29 str r1,[r0,#32] // 32 is GPSET1 // Endless Loop loop: b loop
Note: For Raspberry Pi 2 and Pi 3, change BCM2708_PERI_BASE to 0x3F000000 for the code to work
Users browsing this forum: No registered users and 2 guests