Re: [beagleboard] Re: Weird C problem: PRU doesn't respond to host if two variables aren't initialized in loop

2021-05-19 Thread robert.sty...@gmail.com
Were the variables declared as `volatile`? May be the compiler optimized them out of the loop and you might get different behaviour between DEBUG build and RELEASE build. I am guessing the ADC data register is volatile, and this triggers. I am guessing the compiler optimization sees two variabl

Re: [beagleboard] Re: Reducing Boottime in Beaglebone Black

2021-05-24 Thread robert.sty...@gmail.com
Can you start these services later? If you cannot just sleep, or hibinate to save power, and have to cold boot quickly. I would hope for something like: Initially load the kernel loader load the kernel (load root file-system service) (load IPC or network service) load the turnkey application Th

[beagleboard] Re: Beaglebone Black Ethernet Phy Not Detected on Boot.

2021-06-02 Thread robert.sty...@gmail.com
Which problem do you have? *IIRC* QNX may still use uboot or equivalent QNX can kill and restart a driver. Would require something to determine the Ethernet was not working and restart it. It seems like there are/were two problems: 1. Random RX characters on console/debug UART interrupting n

[beagleboard] Re: Beaglebone Black Ethernet Phy Not Detected on Boot.

2021-06-02 Thread robert.sty...@gmail.com
tools used. >From the article (https://wp.josh.com/2018/06/04/a-software-only-solution-to-the-vexing-beagle-bone-black-phy-issue/) it seems odd that you can read the registers of a failed boot Ethernet PHY, but you cannot write anything to reset it. On Wednesday, 2 June 2021 at 13:04:03 UTC

Re: [beagleboard] IDE (eclipse) for Beaglebone on Windows

2020-08-19 Thread robert.sty...@gmail.com
I feel for Nagabhooshanam I have found getting the cross compiler working on Windows very difficult (compared to Linux, but no picnic there either). I usually resort to the tools provided by the silicon manufacture and end up with several Eclipse based IDEs.

[beagleboard] Re: modules_install faild

2020-08-25 Thread robert.sty...@gmail.com
Do you need sudo or root access rights to install? On Tuesday, 25 August 2020 at 05:15:28 UTC+1 jennifer Dsilva wrote: > neko@nekobot:~/Downloads/linux$ make ARCH=arm > CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/home/neko/RFS_Static/ > modules_install > > > The present busybox configu

Re: [beagleboard] Re: modules_install faild

2020-08-25 Thread robert.sty...@gmail.com
Jennifer, The error message that RobertCN has highlighted, says you need to configure the project with 'make config' to run the configuration setup. In the configuration setup, there is some way the enable loadable modules. Assuming the configuration succeeds... You can make the project and i

Re: [beagleboard] How to connect external power supply to BeagleBone AI?

2020-08-26 Thread robert.sty...@gmail.com
Looking at the A1 schematic Connect external 5V, + to P9.5 and P9.6 and - to P.9.1 and P9.2. Diodes protect from connecting both cape and USB type C at the same time. P9.1 P9.2 GND P9.3 P9.4 VDD_3V3 output to Cape P9.5 P9.6 VDD_CAPE_5V input to BBAI P9.7 P9.8 VDD_5V output to Cape There is a di

Re: [beagleboard] USB3 on BBAI

2020-09-01 Thread robert.sty...@gmail.com
>From what I can see on the schematic, there is no way to power a USB device plugged into the BBAI USB Type-C socket, there is no path to switch +5V power to the Type-C socket VBUS. You would need some sort of adapter or hub with power to supply your device (and the BBAI see below). The BBAI n

Re: [beagleboard] USB3 on BBAI

2020-09-01 Thread robert.sty...@gmail.com
Would this work? - RSHTECH ASIN : B07KFDFT4D On Tuesday, 1 September 2020 at 17:46:12 UTC+1 robert.sty...@gmail.com wrote: > From what I can see on the schematic, there is no way to power a USB > device plugged into the BBAI USB Type-C socket, there is no path to switch > +5V pow

Re: [beagleboard] USB3 on BBAI

2020-09-01 Thread robert.sty...@gmail.com
signal it is a device to the BBAI Otherwise it is software/driver problem On Tuesday, 1 September 2020 at 17:56:26 UTC+1 robert.sty...@gmail.com wrote: > Would this work? > >- RSHTECH ASIN : B07KFDFT4D > > On Tuesday, 1 September 2020 at 17:46:12 UTC+1 robert.sty...@gma

Re: [beagleboard] How to automatically set system time of BBB by external DS3231

2020-09-04 Thread robert.sty...@gmail.com
I do not know the AM3358 of the BBB, but from the schematic P9.42 GPIO0_7 is XDMA_EVENT_INTR2 On Friday, 4 September 2020 at 20:38:05 UTC+1 stl...@gmail.com wrote: > Robert: > > Is there a way to make the external DS3231 the wakeup device? Just like > in this RaspPi thread, I want to set the al

Re: [beagleboard] How to automatically set system time of BBB by external DS3231

2020-09-04 Thread robert.sty...@gmail.com
milar solution for BBB? > > Thx, > Steve > > > > https://www.reddit.com/r/raspberry_pi/comments/bn2ht5/ds3231_rtc_using_the_alarm_function/ > > > On Sep 4, 2020, at 5:40 PM, Robert Nelson wrote: > > On Fri, Sep 4, 2020 at 3:13 PM robert.sty...@gmail.com >

Re: [beagleboard] How to automatically set system time of BBB by external DS3231

2020-09-04 Thread robert.sty...@gmail.com
The power chip TPS65217 needs PWR_BUT P9.9 pulled low (<0.4V) for more than 50ms, but less than 8sec. It appears the DS3231 can hold its INT/SQW pin low for 1 second On Friday, 4 September 2020 at 23:14:19 UTC+1 robert.sty...@gmail.com wrote: > The PWR_BUT P9.9 pulled down to DGND

[beagleboard] Re: External USB 2TB HD not spinning up.

2020-09-10 Thread robert.sty...@gmail.com
If it is drawing too much current, I suggest a powered hub between BBB and HDD The HDD is USB 2.0 which means max 500mA, but BBB can only supply 100mA https://github.com/beagleboard/beaglebone-black/wiki/System-Reference-Manual#usb1-host-port The format is Microsoft NTFS, which Linux cannot rep

Re: [beagleboard] BBAI RTC

2020-09-11 Thread robert.sty...@gmail.com
AM57X RTC is not connected to anything useful On the schematic https://github.com/beagleboard/beaglebone-ai/blob/master/BeagleBone-AI_RevA2_sch.pdf on sheet 5 location A3 On Friday, 11 September 2020 at 14:30:54 UTC+1 RobertCNelson wrote: > Careful everyone, Chinmay asked about the BB-AI, which

Re: [beagleboard] BBAI RTC

2020-09-12 Thread robert.sty...@gmail.com
being for BB-AI. > > -Chinmay > > On Saturday, September 12, 2020 at 4:43:59 AM UTC+8 > robert.sty...@gmail.com wrote: > >> AM57X RTC is not connected to anything useful >> On the schematic >> https://github.com/beagleboard/beaglebone-ai/blob/master/BeagleBone

[beagleboard] Re: Servo control: pulse width working range ?

2020-09-16 Thread robert.sty...@gmail.com
My memory is a little rusty, but IIRC With remote control (RC) servos, there is a pulse width between 1ms and 2ms to give minimum to maximum angle. There is pulse repetition rate of 20ms. I found these

[beagleboard] Re: CAD of the 2x23 beaglebone stackable headers?

2020-09-18 Thread robert.sty...@gmail.com
My KiCad has Conn_02x23_Odd_Even and foot print PinSocket_2x23_P2.54mm_Vertical https://github.com/beagleboard/beaglebone-black/wiki/System-Reference-Manual#871-standard-cape-size https://github.com/beagleboard/beaglebone-ai/wiki/System-Reference-Manual#9-mechanical-information On Friday, 18 Sep

Re: [beagleboard] Re: Servo Power issue

2020-09-20 Thread robert.sty...@gmail.com
I had a similar problem with a micromouse robot, turning on the motors would crowbar the power supply and reset the microcontroller. I solved this by a diode from the battery to a 100uF cap to the microcontroller power supply. I connected the motor driver as close to the battery as practical. Y

Re: [beagleboard] writing data to 1-wire DS2433 eeprom fails

2020-09-25 Thread robert.sty...@gmail.com
Wasn't the problem that the redirection of output by ">" was outside the sudo *command* The "echo" is not needed, only sudo sh -c "cat /home/debian/file > eeprom" On Friday, 25 September 2020 at 15:59:06 UTC+1 RobertCNelson wrote: > On Fri, Sep 25, 2020 at 9:48 AM johan.lind via BeagleBoard >

Re: [beagleboard] writing data to 1-wire DS2433 eeprom fails

2020-09-25 Thread robert.sty...@gmail.com
Also the copy command cp -T *source* *destination* so... sudo cp -T /home/debian/file eeprom On Friday, 25 September 2020 at 16:48:24 UTC+1 robert.sty...@gmail.com wrote: > Wasn't the problem that the redirection of output by ">" was outside the > sudo *command* &g

Re: [beagleboard] writing data to 1-wire DS2433 eeprom fails

2020-09-29 Thread robert.sty...@gmail.com
cp -T > /home/debian/file eeprom > cp: error writing 'eeprom': Invalid argument > > fredag 25 september 2020 kl. 17:52:55 UTC+2 skrev robert.sty...@gmail.com: > >> Also the copy command >> cp -T *source* *destination* >> so... >> sudo cp -T /hom

Re: [beagleboard] writing data to 1-wire DS2433 eeprom fails

2020-09-29 Thread robert.sty...@gmail.com
I suggest trying to write less than 32 bytes (the dmesg implies something wrong with offset or count) -- create a file of less than 32 bytes and copy to eeprom cd ~ echo "1234567890" > file10 cp -T file10 /sys/bus/w1/devices/23-02eddd9b/eeprom In the data sheet you need a much smaller R[PU]

[beagleboard] Re: USB wireless adaptors at 3.3v ...

2020-10-22 Thread robert.sty...@gmail.com
Many Wi-Fi modules are designed for a Lithium cell which is 3V to 4.2V. The first thing the USB part does is reduce the USB 5V to 3.3V You can boost the battery to 5V with something like https://www.adafruit.com/product/1903 On Thursday, 22 October 2020 at 10:15:28 UTC+1 pfrossard wrote: > Hi, >

[beagleboard] Re: USB wireless adaptors at 3.3v ...

2020-10-22 Thread robert.sty...@gmail.com
ck is just connected to the DC in Jack, the voltage should be 4.3V to 5.8V. The battery pack could be connected to a 5V booster input and the DC jack to booster output. On Thursday, 22 October 2020 at 12:22:03 UTC+1 robert.sty...@gmail.com wrote: > Many Wi-Fi modules are designed for a Lithium

Re: [beagleboard] Re: USB wireless adaptors at 3.3v ...

2020-10-22 Thread robert.sty...@gmail.com
> When the BBB work on battery and come back to 5v the USB port doesn't > work !? > > Le 22/10/2020 à 15:13, robert.sty...@gmail.com a écrit : > > Looking at BeagleBone Black rev C schematic and TPS65217C data sheet > > > > If the battery is connected to the Recharge

[beagleboard] Re: I need OS or RTOS for an IOT

2020-11-27 Thread robert.sty...@gmail.com
Low-level like C library: FreeRTOS concurrency and IPC by 1 to 1 stream/message passing, n to 1 asynchronous direct process signal/event, n to n fixed size message queue (pipe), signals and semaphores High-level like Linux+KDE: QNX concurrency and IPC by n to 1 synchronous message passing and

[beagleboard] Re: BBAi pinmapping / temperature

2020-12-04 Thread robert.sty...@gmail.com
*Capes* I can not find the web-page, but I remember reading the BB Black and BB AI Capes were compatible, except something like a different I²C device was used and some GPIO were connected together on BB AI to provide both functions of the BB Black. *Overheating* With no a fan, the heat sink

[beagleboard] Re: Pin P9 _ 7,8 5V_SYS voltage configuration.

2020-12-29 Thread robert.sty...@gmail.com
If peripheral is power-supply voltage sensitive, give peripheral own power-supply. Peripheral own power-supply may take from SYS_5V or VDD_3V3B. I did not have time to find a dev board with (I2C) variable voltage output. SYS_5V cannot be used for software controlled variable output because of T

[beagleboard] Re: Nested loops with the PRU LOOP instruction?

2021-02-08 Thread robert.sty...@gmail.com
On the Z80, the counter register B was only 8 bits, you could loop 1 to 256 times with DJNZ. The outer loop was often unrolled, that is the inner loop was repeated, say, 3 times.. Say you wanted to loop 700 times = 256 + 256 +188; load the B register with 188 and jump to the first inner loop

Re: [beagleboard] Desktop GUI for BB rev a5.

2021-02-12 Thread robert.sty...@gmail.com
>From a Linux (like) desktop computer running an X Windows server, issue the `ssh` command with -X option, then you can run some GUI apps on the BB and have them display on the desktop. I've used this to develop some scripts and a directory structure on a server over 100 miles away, the interne

[beagleboard] Re: BeagleBone Black QNX 6.5.0 SP1

2021-03-01 Thread robert.sty...@gmail.com
I vaguely remember the SP install being two manual steps, one being copying files from one place to another On Monday, 1 March 2021 at 16:02:15 UTC lucas...@gmail.com wrote: > Hello, > > I would like to use QNX on my BeagleBone Black. I have downloaded the QNX > Neutrino 6.5.0 SP1 BSP here: > >

Re: [beagleboard] Re: BeagleBone Black QNX 6.5.0 SP1

2021-03-01 Thread robert.sty...@gmail.com
ndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature> > > On Mon, Mar 1, 2021 at 10:52 AM, robert.sty...@gmail.com > wrote: > > I vaguely remember the SP install being two manual steps, one being > copying files from one place

Re: [beagleboard] Re: BeagleBone Black QNX 6.5.0 SP1

2021-03-02 Thread robert.sty...@gmail.com
understand, we have been working on this for 3 > weeks > > Le lundi 1 mars 2021 à 19:07:16 UTC+1, robert.sty...@gmail.com a écrit : > >> I assumed you did rebuild all < >> https://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/Bsp_650InstallationNotes >

Re: [beagleboard] Re: BeagleBone Black QNX 6.5.0 SP1

2021-03-04 Thread robert.sty...@gmail.com
Also Working with a BSP http://www.qnx.com/developers/docs/6.5.0SP1.update/com.qnx.doc.neutrino_building/bsp.html On Thursday, 4 March 2021 at 17:09:40 UTC lazarman wrote: > The read me for the BSP zip files you attached go look at it > It says it's a QNX 6.50 BSP. > See if you can get the lates

Re: [beagleboard] Re: BeagleBone Black QNX 6.5.0 SP1

2021-03-04 Thread robert.sty...@gmail.com
7.0 worked on X15 except vector graphics On Thursday, 4 March 2021 at 17:51:42 UTC lazarman wrote: > Page 15 of the pdf you sent we need that document > > . Please refer to the QNX SDP 6.6.0 BSPs guide, available as part of the > QNX Software Development Platform OS Core Components documentation

Re: [beagleboard] Re: BeagleBone Black QNX 6.5.0 SP1

2021-03-04 Thread robert.sty...@gmail.com
ld BSP sources ? > And do they actually respond to support questions for educational users? 😉 > > > Looks like most of their revenue comes from automobile infotainmen at > least the people hiring recently > > Mark > > > Sent from Yahoo Mail on Android > <https:

Re: [beagleboard] Re: BeagleBone Black QNX 6.5.0 SP1

2021-03-04 Thread robert.sty...@gmail.com
021 at 02:59:32 UTC robert.sty...@gmail.com wrote: > As you ask, what is missing from the BSP that needs building? If nothing, > the next step is getting network setup to connect with SSH and IDE, > possibly run network file system client to access files on your development > PC.

Re: [beagleboard] Re: BeagleBone Black QNX 6.5.0 SP1

2021-03-05 Thread robert.sty...@gmail.com
drivers in order to make the BeagleBone Black a >> target source in which we can send programms. I think, the BSp does need to >> be modified in that case , doesn't it ? >> >> We cannot upgrade our QNX development system because it would be too >> dangerous. We have o

Re: [beagleboard] Re: Beaglebone Ai overheating

2021-03-16 Thread robert.sty...@gmail.com
>> This does not seem to be a software or firmware fault - it is a design >> issue - and the board should be sold with fan, as it is not fit for purpose >> as-is. >> Very disappointed, as I have sunk further cost because I bought a cape >> for the thing - which