**** BEGIN LOGGING AT Tue Sep 12 03:00:01 2017 Sep 12 13:46:16 Hi folks! I am using the beagloboardx15 and wanted to use the m4 processor for do some CAN interfacing over spi. Has anyone tried to access the spi3 from m4 any pointer and link would be helpful! Sep 12 13:53:10 my system arm-linux-gnueabihf assembler seems to be the wrong version, do you know how to check this? Sep 12 15:47:25 is bx lr an illegal instructioon on armhf (ti am335x) Sep 12 17:21:32 zarzar: uh, no? Sep 12 17:21:58 bx lr is the standard way of returning from a function Sep 12 17:22:27 (one of the two standard ways I should say) Sep 12 17:23:29 hmm, undefined instruction on my bbb Sep 12 17:23:45 then you're doing something really strange Sep 12 17:23:57 are you writing assembly? Sep 12 17:24:00 changed it to push lr and pop pc Sep 12 17:24:40 works now, not sure what the issue is, i was testing the cross toolchain with c c++ and assembly files Sep 12 17:24:58 I can't say for sure what you were doing wrong without more context Sep 12 17:26:53 .fun and ret also rejected by assembler Sep 12 17:27:12 those are macros I defined in asm-defs.h Sep 12 17:27:19 ret is just bx lr Sep 12 17:27:24 so i replaced ret with bx lr and got undef instruction errror Sep 12 17:28:23 do note that my bbb-asm-demo is meant to run on bare metal, not in linux userspace. Sep 12 17:28:43 hmm, maybe that is the issue? i have this now: https://pastebin.com/NCbpwfZT Sep 12 17:29:05 builds and runs (add is not correct though because of registr handling) Sep 12 17:29:21 add is missing a return Sep 12 17:29:55 https://pastebin.com/xPqd8xY8 Sep 12 17:29:57 why do you say it isn't correct because of register handling? it should be just fine for a C prototype of int add_10( int ) Sep 12 17:30:29 because it doesn't add 10 to my variable Sep 12 17:30:48 i probably have the regoster convention wrong Sep 12 17:32:27 nope Sep 12 17:32:36 r0 is first argument and return value Sep 12 17:33:44 hmmm Sep 12 17:35:51 is this machine 32 bit? Sep 12 17:36:01 yes Sep 12 17:37:07 ok Sep 12 17:37:22 so unsigned in is 32 bit Sep 12 17:37:27 int*** Sep 12 17:37:48 int is also 32-bit on 64-bit machines Sep 12 17:37:57 (usually) Sep 12 17:40:26 oh ok Sep 12 17:40:40 zarzar: I made a quick test, it works fine here -> https://liktaanjeneus.nl/c-asm-test.tar.gz Sep 12 18:18:59 zmatt: not sure man, i can't get it to fail now, sketchy systems **** BEGIN LOGGING AT Tue Sep 12 23:44:57 2017 Sep 13 00:08:20 Hello, I'm looking for a list of USB Wifi Dongles that are capable of AP mode that work with the Beaglebone Black? Sep 13 02:15:18 Hi there! **** ENDING LOGGING AT Wed Sep 13 03:00:00 2017