Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 25 14:02
    Yatin-Khurana commented #45
  • May 24 23:33
    juvinski commented #47
  • May 17 10:23
    safinwb commented #47
  • May 17 04:49
    juvinski commented #47
  • May 13 10:18
    Seeelefant commented #47
  • May 12 10:13
    safinwb commented #47
  • May 08 21:44
    Seeelefant commented #47
  • May 08 06:28
    juvinski commented #47
  • May 06 15:15
    Seeelefant commented #47
  • May 06 13:33
    juvinski commented #47
  • May 06 07:33
    Seeelefant commented #47
  • May 06 05:01
    juvinski commented #47
  • May 05 15:27
    juvinski commented #47
  • May 05 12:01
    50-sys commented #47
  • May 05 11:00
    50-sys commented #47
  • May 04 18:34
    50-sys commented #47
  • Mar 15 22:48
    Seeelefant commented #47
  • Mar 15 22:47
    Seeelefant edited #47
  • Mar 15 05:02
    timtuxworth commented #47
  • Mar 12 22:23
    Seeelefant commented #47
OscarJGV26
@OscarJGV26
also... if I wanted to load the same PRUcode to the other PRU, wouldn't I need not just the RAM_BASE, but also the CTRL_BASE and the IRAM_BASE, to be able to load it... I can see from (https://github.com/juvinski/ardupilot/blob/BBAIPilot/Tools/Linux_HAL_Essentials/pru/aiopru/RcAioPRUTest.c) that the RCOUT_PRUSS_RAM_BASE is what is defined in device tree at the pruss_shmem (see image below)
image.png
image.png
nonetheless, the PRUcode is loaded to the IRAM_BASE.... and reset/start using the CTRL_BASE...
Vinicius Juvinski
@juvinski
Yes, the same program can run on different prus and how you use registers and memory addresses to access data, the same program can work in all pru' s
Yes, you need to change the memory addressess
startint at page 417
and 7362 and 7363
OscarJGV26
@OscarJGV26
image.png

Yes, I was seeing that... thank you!

Nonetheless, is not working at the moment for me...

I am loading the same PRUcode to the addresses above...

image.png
and in this case, not even the PWM generation works...
OscarJGV26
@OscarJGV26

did I calculate those addresses correctly?

iram_base=PRU_ICSS1_base+pru0_iram_offset=0x4B200000+0x00034000=0x4B234000, as in example 3 of page 7362....

ctrl_base=PRU_ICSS1_base+pru0_ctrl_offset=0x4B200000+0x00022000=0x4B222000

irwin riolinus
@irwinr89_twitter
i had to rebuild my bbblue, new sd card, used steps as usual from infamant guide, i compiled arduplane on the bbblue itself.....it runs but as soon as I connect with MP i get a ton of these messages on console and then i lose connection.....have to reboot ... I have redone the setup a couple times and same issue....
image.png
i have done this many times before, not sure what the deal is....
Vinicius Juvinski
@juvinski
Disable ins_fassample
irwin riolinus
@irwinr89_twitter
i cant change it via MP as the connection doesnt last long enough, is there a parameter file on the linux side where I can set it?
Vinicius Juvinski
@juvinski
What’s the command line are you using to star ardupilot ?
irwin riolinus
@irwinr89_twitter
./arduplane -C /dev/tty01 -A tcp:192.168.1.115:14550 -B /dev/tty02 -F /dev/tty05
its weird it only happens the minute I connect with MP
irwin riolinus
@irwinr89_twitter
nah, I managed to be quick enough to set INS_FASSAMPLE to 0 and save, but it still doing it
Vinicius Juvinski
@juvinski
could you please try to generate the samples( ./waf examples) and then on the build/examples folder
run the INS_Generic sample to see if the messages will appear ?
irwin riolinus
@irwinr89_twitter
i found this file at "/home/debian/ardupilot/libraries/AP_InertialSensor/examples"
but how do i run it? I changed to executable but does nothing
Vinicius Juvinski
@juvinski
you need to compile
./waf examples
irwin riolinus
@irwinr89_twitter
image.png
seems be working, i was moving it around on that screenshot
Vinicius Juvinski
@juvinski
there is a discussion on the ardupilot forum
Safi Amir
@safinwb
is it external imu or onboard ?
if external make sure ur wiring is okay
irwin riolinus
@irwinr89_twitter
no sorry this is a bbblue, all internal..ill check out the link
Vinicius Juvinski
@juvinski
In true, reading the thread this error is related to problems with the sensor, but on previous versions this didn’t happen, there is a change on the way the ardupilot is reading the imu, using an older version like 4, 4.1 I believe you will not have this errors
irwin riolinus
@irwinr89_twitter
ya thats exactly what am doing right now, compiling 4.1!
Vinicius Juvinski
@juvinski
I checked the code and the post, and beside the message is temp (temperature) and what is trowing the message is a temperature reading, according the explanation, this temp reading is just a way to check if the fifo from the imu is ok
irwin riolinus
@irwinr89_twitter
ok its working on 4.1....doesnt lock up...it prints one statement of temp reset, not a nonstop scroll of them like 4.2
irwin riolinus
@irwinr89_twitter
does the FrSky OpenTX telemetry (Serial opt 10) work on BB? I thought I read that it wasnt supported
Vinicius Juvinski
@juvinski
I believe the main question is the inverted signal of the frsky telemetry
SERIALx_OPTIONS =160 (enable pull-up/pull-downs on TX and RX pins for those external inverter circuits that may require it)
irwin riolinus
@irwinr89_twitter
am using the Yaapu telemetry kit, i believe has inverter in it https://www.amazon.com/gp/product/B07KJFWTCB/
Vinicius Juvinski
@juvinski
So you just need to connect on one of serial ports (4 or 5) and set the correct baudrate and function, should work
irwin riolinus
@irwinr89_twitter
so am confused about Serial4....the bblue schec only shows physical ports for UART0, 1 and 5 (am using UART5 for Frsky Telem but no data so far)
where is 4?
i also cant get the airspeed sensor to work on I2C port, this is first time am running plane on bbblue
irwin riolinus
@irwinr89_twitter
image.png
i have I2C defined on uenv.txt