Thanks @h4yn0nnym0u5e, I had forgot about that. Modified the code by removing "DMAMEM" from src[] array:
uint32_t src[4] = { 10, 20, 30, 40 };
The code works as expected:
DMA channel assigned: 1
Triggering DMA manually...
✅ DMA ISR fired!
✅ DMA...
You might want to check out this post that is about Teensy DMA usage.
As @BriComp mentioned you need to put your code between code tags. That is accomplished by clicking on the "</>" symbol in the upper left corner of the post window. It will...
That's good to hear. No worries about vga_4bit_t4 lib. It's meant to be user usable no matter how it is configured :D CP/M and MP/M are very much text oriented anyway. I'll download and test and then play with it. Hopefully this is the last of...
If 20K of the 150K code could be made FLASH resident it would result in another 32K block of free RAM1 reducing that wasted padding:13048
There is a 32K code cache - that should hold all of that most used code, if not found in startup one time...
Man, you just can't seem to get a break o_O I am setting up the Arduino fZ80.6 for compiling right now. I looked at your stripped down version if VGA_4bit_T4. Whatever it takes to stabilize the code;)
I am just now playing with it. Still reading the manual and getting used to MP/M. I think you have it locked down. That kind of memory usage is to close to borderline stack trashing. I'll wait for updates:)
I wrote this up for myself, to go into the source. But it tells the tale above. linearly.
At the moment I'm using a very stripped out version of VGA4BIT, which I'd done initially looking for bugs that might write into my Z80 banks in the same...
Yeah it's very weird. Now CP/M doesn't do this! And the Teensy code is the same! CP/M also has a (very simple) timer tick. ANd it can run multi-window, or not, so that code isn't it. This is why I was so baffled! I couldn't see how it wasn't MP/M...
For any version of Windows, you need to use a different PID/Version combo to get Windows to pay attention to the fact your device is different than the last time it connected. It's really annoying, but that's how Microsoft made it.
However...
Bummer:unsure: I use the IntervalTimer for a key repeat function in my USB keyboard driver and vga_4bit_t4 without issue. I am very curious to see what might be causing the issue...
@charnjit.
Read Paul's answer #4 and #7 on number of endpoints.
You can use my solution for testing. If there is something not clear, ask specific questions.
For us to help you, you should show that you read and follow suggestions. We can and...
OK will do!
Oh, I don't actually *understand* the VGA/DMA code! lol. Honestly I haven't tried; I worked around it; I have a ton of krap to do to get out from under this grown-insanely project! But I will not forget it.
I've snapshotted a...
Thanks for the tip @jmarsh. So instead of:
arm_dcache_flush_delete(s_frameBuffer[frameBufferIndex], fb_height*_pitch);
Change it to:
arm_dcache_flush(s_frameBuffer[frameBufferIndex], fb_height*_pitch);
Will try it out and see if there are...
WOW!! Sounds like maybe playing with interrupt priorities might shed some light on the problem or help. Just a thought if you have not tried yet. Other than that I'll play with it and see what happens. I've been in those nasty bug swatting...
This 7:23 summary a few hours old - in a word it is 'Weird' power not up to Pi4 level - they call BRICKS the combined INO and linux Python:
Some test specs/notes he exposes here:
https://github.com/geerlingguy/sbc-reviews/issues/83
Been playing around with the Q for the last couple of days developing an actual app that reads imu data from the MCU and processes it on the MPU through a Madgwick filter. Note think we are working on the 2gb version as saw something thats says...
The 'out of stock' was of course on their website for a 77 $/pound? item.
I just ordered the Ethernet capable version @KurtE linked (the 2nd) - $25 and will be here in a couple of hours.
The IDE can be used to program just the MCU - I did not...
Uno, Mega, Nano, etc - are now names by form factor. I personally did not feel the UNO R4 was properly named as it too much implied
that it was the next revision and it was far too different from the R3... But for example there is the Nano and...
After this you should check if the call succeeded with
if (TheFile.isOpen()) or even
if (TheFile)
before blindly assuming the IO will succeed.
TheFile.write() returns the number of bytes actually written to disk. So if it returns 0 or less than...
My last order came in pink poly as well. Besides inadequate ESD protection, the oversized thin poly bags also don't protect as well from physical damage.
The fact that the bags are preprinted makes me think it may be a permanent change...
SBC - with Arduino onboard:
Hardware & Software Requirements
Hardware
Computer (Windows/Mac/Linux)
Arduino® UNO Q board
USB-C® cable
Alternatively, using the board as a Single Board Computer (SBC), the following is required:
USB-C dongle
A...
That's a long time. Waiting 25 seconds for a boot up
I don't get the hype in the microcontroller world for this. It's not a microcontroller, but a microcomputer. More so to compete with the Pi.
Add to that everything seems so undeterministic.
Thank you wwatson ...
yes it is exact what i want . your given code alone working well.
i will try it mix display+keypad code & report if any error occur.
thank you....
I have been playing with the file manager for quite a while back when I first wrote the driver for the RAIO RA8876 TFT driver. That was a 10.1" TFT from Buy Display. That was around 2018. Shortly after that I modified a version of STBASIC09...
Those cabinets will be nice. Mat black? Sounds like you are getting close to the finish line. You are being very generous😀 can't wait to play with MP/M ||. I have never messed with it before...
@charnjit - I have created a simple sketch as an example of multi file copies between USB to SD and SD to USB. Hopefully this was the example you are looking for. It has a simple menu with four functions available...
@charnjit - First of all your opening and closing braces are all wrong although it still compiles:confused: You lucked out I guess.
void DO_COPY () {
}
void setup() { // This starts the setup function.
// } -----------> wrong
// void...
Thanks, It works perfect (y) I really like that you keep margins on all four sides when resizing the panels. That way all four panels are always in view. I am working on a complete rewrite of a file manager for the Teensy that I had cobbled...
F1 through F12 are the window-changing keys. I think F12 brings up the big cross cursor. You've run VGA M to get into multiwindow mode? You see four windows?
F1..F4 selects window 1..4. In the version you have, F12 should bring up the resize...
I finally got some time to use the latest posted version of fz80. Just can't seem to figure out how to get the sizing cursor to appear and how to switch between windows. Any hint's...
There are some previous discussions in the thread: https://forum.pjrc.com/index.php?threads/looks-like-i-will-soon-have-yet-another-distraction-arduino-uno-q.77356/
Some information up on the Arduino site in the forum...
Ahh... OK that's a feature of C++ I've never used, wasn't thinking of those extentions to the Serial object. I had modified write() to take the x and y args directly, inlined pixel writing, and did a number of unrelated things to speed...
I just went through and checked. The only two virtuals are:
virtual size_t write(const char *buffer, size_t size);
virtual size_t write(uint8_t c);
I had forgotten about them. You will find the most of the available display drivers and the...
Not sure yet: For example I have a few different RPIs sitting around, like a 5 with an SSD on it, a couple of 4s... Most of the time they
sit in a cabinet... Nice boards.
Had: a Beagle Bone Black (when it first came out don't remember but...
Exactly, it doesn't take much to see that the MPU has no open code now and doesn't look like it will in the future.
The linked datasheet is just electrical specifications, not a programming guide with register descriptions and such.
Qualcomm's...
This board is interesting at first, and many long-time makers will jump on it. They will look at it, do some cool things with it, and then put it away, only taking it out to “play” with it every now and then.
The thing is too expensive, too big...
I'm trying to keep an open mind about Arduino's future, but it's not so easy with a company like Qualcomm.
Until just a couple weeks ago, I was feeling... well, going to hold my tongue.
Good news is SparkFun made huge improvements starting...
Personally, I have no idea if this will be a good thing or a bad thing. Time will tell. I have seen several different changes during my
time in this hobby, like:
LynxMotion purchased by RobotShop (I had more fun with LynxMotion)
PJRC and...
That is part of bigger news that Qualcomm is buying entire Arduino business.
https://www.cnbc.com/2025/10/07/qualcomm-acquires-italian-hardware-company-arduino-in-robotics-play-.html