Re: [beagleboard] File writing from PRU

2017-08-08 Thread 'Mark Lazarewicz' via BeagleBoard
Been using emulators for 32 years in industry if you exclude debugging linux( printf is common) and look at bare metal or RTOS which many hard real time systems use you save time. IMO toggle gpio and printf is like erasing and programming eepeoms 30 years ago. Sure it works for applications but

Re: [beagleboard] File writing from PRU

2017-08-08 Thread Clark Sann
Mark, So what can I do with it if I get one? I’m programming the PRU in C, can I inspect variables and insert breakpoints? Clark > On Aug 8, 2017, at 4:56 PM, 'Mark Lazarewicz' via BeagleBoard > wrote: > > That sounds like a perfect justification to spend $90 on

Re: [beagleboard] File writing from PRU

2017-08-08 Thread 'Mark Lazarewicz' via BeagleBoard
That sounds like a perfect justification to spend $90 on jtag Sent from Yahoo Mail on Android On Tue, Aug 8, 2017 at 3:35 PM, Clark Sann wrote: Thanks, Charles, for the great ideas. I definitely agree with you that debugging on the PRU is hard. I’ve been working on a

Re: [beagleboard] File writing from PRU

2017-08-08 Thread Clark Sann
Thanks, Charles, for the great ideas. I definitely agree with you that debugging on the PRU is hard. I’ve been working on a problem on and off for weeks. I’ve solved it now but had decent debugging tools it would have only taken a few minutes. (Or if I knew C better!) It’s like trying to play

Re: [beagleboard] File writing from PRU

2017-08-08 Thread Charles Steinkuehler
On 8/8/2017 10:11 AM, Clark Sann wrote: > > But why did TI blather on and on about the printf_support switch and the high > and low level IO drivers in the PRU C Compiler manual? Because you can get printf working if you add a UART or other means to get data out of the system. > What do you do

Re: [beagleboard] File writing from PRU

2017-08-08 Thread Clark Sann
Thanks Charles. I agree that it seems to be impossible to write to the ARM file system. I wanted to do it to get better diagnostic information while I am debugging my PRU firmware. I'm finding that turning on outputs when I reach certain sections of firmware is growing tiresome. I might try

Re: [beagleboard] File writing from PRU

2017-08-08 Thread Charles Steinkuehler
On 8/7/2017 10:55 PM, Clark Sann wrote: > I need some help from someone who has succeeded in getting the PRU to write > files onto the host's file system. I have tried two methods: > > 1. Using open, fputs, fprintf, etc. This does not work for me. First of all, > unless I set the printf_support