![]() |
Forum Index : Microcontroller and PC projects : ArmmiteF4 firmware V5.07.00b1 - major upgrade
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10069 |
White on white is never a good look ![]() Change teraterm to have a black background |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 971 |
This seems to work well on my v33 which previously need a few tries. Also works on a STM32F4VET6 Mini I have as well (no pullups on these). 16Gb Toshiba. Also a Lexar 16Gb works. Regards Gerry Latest F4 Latest H7 FotS |
||||
twofingers Guru ![]() Joined: 02/06/2014 Location: GermanyPosts: 1530 |
Hi Peter, I can report the issue is solved. All 6 sd cards read the directory. That is what I can say for now, but I did no further investigation. Thanks anyway! ![]() ------------------------ Something strange about the firmware download/programming (Board V33): I had to use the serial (TX-RX, RX-TX) port as the USB seems to stop working in bootloader mode. When I used the normal jumper settings, I was unable to connect to the CubeProgrammer. Then I tried without the BT1 jumper and ... was successful. ![]() ![]() Regards Michael PS: It seems that Zadig (https://zadig.akeo.ie/) solved my connection issue with Win7, the STM32F407VET6 (V33) and the CubeProgrammer. I found it after reading this thread: https://community.st.com/s/question/0D50X00009XkXagSAF/dfu-usage-with-stm32cbeprogrammer BT0 jumper only! That's weird because it worked twice with BT0 + BT1 plugged in. ![]() Edited 2021-03-18 06:46 by twofingers causality ≠ correlation ≠ coincidence |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2419 |
Also had problem with Windows 10 finding V33 board bootloader. Moved USB plug from usb3 port to usb2 port. Problem gone. |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2419 |
SD card update. Tested Peter's latest update on my V33 board, after disconnecting the pullups previously added. It works on all my SD cards. What dark magic is it that can fabricate hardware from software, Peter? For those reluctant to tackle tiny SMD soldering it is perfect. Having lost the keen eyes and steady hands many years ago, it took more than an hour to fit a few resistors. PS How do I change the default font size. Mine is stuck on 6. Restoring defaults and reprogramming don't fix it. I have to use FONT 2 or OPTION LCDPANEL CONSOLE 2 every reboot. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6221 |
I expect that Peter played with the internal pullups. They would not have been needed with the external ones. It is a bugger when the hardware gets changed without any obvious warning. There is a delicate balancing act trying to cater for a variety of pullup values when you are looking for speed and reliability. Even more difficult when the software guy doesn't have all the different hardware to test with. Jim VK7JH MMedit |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
Now with this version, it is OK. thanks! Before, with older version (03/16), "Files" function work, but "Load *.bas" said "no card detected" it is with small chines card STM32Fxx (without jumpers and with oled connector) |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 971 |
If this is the giant size font that appears whenever you reboot with OPTION LCDPANEL CONSOLE enabled, then a fix is on the way. It should be defaulting to font 7, which is the 6*8 font suitable for the 320*240 screen. Latest F4 Latest H7 FotS |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2419 |
To disco4now, Thanks for the info, I thought I had messed something up. To TassyJim, I had assumed the internal pullups were already enabled for any SD cards to work at all. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6221 |
The firmware was developed on (and for) a board that has the external pullups. I don't think the idea that the board would change something so fundamental was considered. Jim VK7JH MMedit |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2419 |
I should have expanded my reply. What I was trying to get at, for the V33 board with no external pullups, no internal pullups would mean no cards would work, while weak internal pullups might allow some to work. I guess some SD cards must have their own. Does this chip have more than one size pullup option. I would have thought the usual 100k would be too high for reliable communication at the high data rates of SD. |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 4857 |
Hi Phil99, The weak pullup inside the STM32F407 is 40kohm. The suggested external resistive pullup is 47k ohm as I recall. Therefore the internal pullup is even stronger than the suggested external resistor. Regards, Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10069 |
I didn't originally enable the internal pullups as the board is supposed to have external. These are really too strong (10k) so with the internal enabled as well we are now on 8K. Assuming it works for boards with the pullups I'll leave the internal in place. By default the ST software does not enable the internals because it expects designers to build their boards properly! |
||||
Andrew_G Guru ![]() Joined: 18/10/2016 Location: AustraliaPosts: 868 |
Hello all, Strange issues with SD cards! - Peter's latest 5.07 version - F4 V33 no jumpers and board as supplied - 16G card (Jaycar C Team) After say 10 to 20 tries of "Files" (where it reported "Error : SD Card not found") it eventually listed out all the files. BUT if there were enough files to fill a page it asked to "Press any key ..." and then locked up. ^C from MMEdit, ^Break didn't work - only a reset woke it up. If I deleted the number of files on the SD to less than a page it reported them all and didn't lockup. But it immediately took several repeats of "Files" before it worked again. If I tried "Load Image myimage.BMP" it reported "Error : SD Card not found" (after many tries) If I tried "Files *.bmp" it reported "Error : Invalid Operator" I switched to a 32G card, same brand, and it took fewer repeats, and ANY KEY worked on paging but I could not load BMPs. Happy to help track it down. Cheers, Andrew |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3314 |
>If I tried "Files *.bmp" it reported "Error : Invalid Operator" Do you have quotes in the right place: Files "*.bmp" PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Andrew_G Guru ![]() Joined: 18/10/2016 Location: AustraliaPosts: 868 |
Hi lizby, Yes, a " in the wrong place Files "*.BMP" works but only intermittently (like 1 in 20+). Most of the time it is not seeing the SD so it was hard to track down. The two remaining issues are: - not seeing the SD - not seeing a key in MMEdit to show the next page. Thanks, Andrew Edit: persevering with the Load Image "myfile.BMP" works when it sees the SD card but still only about 1:20 tries) Edited 2021-03-19 13:26 by Andrew_G |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6221 |
What syntax do you have selected in MMEdit? The F4 works best with the Armite H7 syntax. I am seeing the PRESS ANY KEY line OK here but I think your main problem is the SD card reliability, I don't think it is a syntax problem. I have 2 new boards on order so it will be interesting to see what revision I end up with. Jim VK7JH MMedit |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2419 |
To Volhout, Thanks for the info. that clears things up. To Peter, The resistors I added to my V33 were 8k2 and all the SD cards I have worked fine. That is very close to the 10k//40k combination. The usual range for fast busses is 2k to 20k so the 47k recommendation is higher than I expected. The very short distance from chip to socket might be the reason. (could it be a typo? 4.7k perhaps?) To Andrew_G, The version that fixed my V33 is:- 2021-03-17_181307_ArmmiteF407.zip at:- https://www.thebackshed.com/forum/uploads/matherp/2021-03-17_181307_ArmmiteF407.zip If that doesn't fix it then pullups, (say 22k as a compromise between recommended value and what we know works) on SD socket pads 1,2,3,7,8 but not 5 (CLK) should. It's tricky but you can stand them on end then put a bridge wire across the top of them, leading to the center pin of the 3.3V regulator. It took me more than an hour to get it right with no bridges between pads. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6221 |
The SD (brief) specs talk about 10k to 100k in some places and 50k in others so 47k sounds right to me. I would have to pay a ridiculous amount to get access to the full specs so I didn't dig any deeper. Jim VK7JH MMedit |
||||
Andrew_G Guru ![]() Joined: 18/10/2016 Location: AustraliaPosts: 868 |
Hi all, Jim - yes I'm using Armite H7 syntax. Phil - thanks for that. I tried the version you suggested but, whilst it did improve it a little, it was still hit and miss. (I thought that I had been using the latest version from Peter?). Can you post a picture of what you did with the resistors. Could it be the SD cards? I'm happy to spend $11 on a Sandisk 32Mb card? I think that is what Peter uses? I don't have any SMD resistors so I may as well try every other option until I do . . . Cheers, Andrew |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |