Does a good solution exist for threading on the BBB? The pthread_t is present but the rest of the library is not.
djg
April 27, 2024, 11:59pm
2
I have used it without issue.
// Needs fixed prulib
// http://e2e.ti.com/support/arm/sitara_arm/f/791/t/239735.aspx
// https://github.com/beagleboard/am335x_pru_package/issues/3
// This module is the routines needed to emulate a MFM disk. The emulated
// disk data is the raw clock and data MFM bit stream for each track.
// The ARM handles reading and writing a cylinder of track data to DDR
// memory buffer. PRU 1 converts the MFM bits to Pulse Width Modulation (PWM)
// words PRU 0 uses to generate the MFM bitstream. PRU 1 also converts the
// MFM delta transitions times from PRU 0 to the MFM bitstream and stores
// it back in DDR memory. PRU 0 handles outputting the PWM words to the PWM
// generator, reading the delta words from the hardware and handling the
// various drive control lines. If the host seeks PRU 0 interrupts the ARM
// to let it fetch the next cylinder.
//
// Copyright 2024 David Gesswein.
// This file is part of MFM disk utilities.
// 03/13/24 DJG Fix detection of mfm_emu script not run
// 02/23/24 DJG Increase priority of main thread to process seeks as timely as
This file has been truncated. show original
Thank you for sharing that information. I am one that likes to keep stuff simple and similar so it can be used on other projects.
It fixed itself, does not appear to be any fault of the BBB. The IDE was not properly linking on one of the remotes, cmake was configured properly from the start however it just got hung up. Mystery to me why this happened, just glad it is now working.