Spark Logic

Maple mini from BAITE – the real PILL

ILI9341 MSP3223 · 14-contact header Pinout

For my ordered blue pills are still on the way and I still needed a little scope I grabbed out my “lost” Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog ..
I remembered I installed bootloader 2.0, loaded o-scope and all was runnin fine.
After sticking all together the screen remains white/light grey, nothing at all.
So I loaded the scetch new and freshly..bootloader was detected and just in that moment communication lost, no com port any more..

On Blue PillBlue PillDevelopment and computing boards…as become my new favorite board. I am calling it “blue pad” and it is kind of super “ blue pill ”. Pito Thu Jul 27, 2017 8:53 pm [victor_pv – Thu Jul 27, 2017 3:58 pm] – Just for…View in hardware catalog I got rid of the loader and used ST-LINKST-LINKModules, instruments and finished devices…ot add the serial usb device… suspect flashing failed…. Do I need to debrick it with st-link ? (which I don’t have lol) BennehBoy Mon Jan 23, 2017 8:11 pm NM managed to rescue it…View in hardware catalog only.
So I decided same on Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog .
At least I was successful with help from reset button.
The sketch was loading fine but it didn’t like to run, several tries, no chance.
So I installed the bootloader another time with STM utility.
And – what wonderous – the sketch was loading… but not running..arrrghggh!
No real idea I played with VCC and suddenly it ran.
What happened? I connected the 2nd VCC pin too.
Nest try with same constellation..screen remained white.
When powered via USB..sometimes sketch started, sometimes not.
Sometimes it started after a break of 10, 20 or 30 seconds.
Powered via VCC again sketch started only after several resets, sotimes 2, sometimes up to 7.
A simple blinky-sketch starts immediately, starting probs only with the ily, a graphic test showed same behavier.
crazy stuff..

Replies11

Sat Mar 05, 2016 11:43 am

i really appreciate it when other people report my insanity as theirs. :D

i am no longer alone.

stephen

Sat Mar 05, 2016 4:13 pm

The blank screen thing sounds familiar, I messed around for a couple of hours trying to figure out what was wrong with one of my boards, which had been running just fine, then stopped. I double checked all the code, tried different pins, all the usual trouble shooting tricks.

The cause was poor soldering on the display board. The ribbon cable connecting the display to the board had partially separated from the PCB. A little microsurgery later and it was all working again.

I too was beginning to question my sanity… however it turned out that my tenuous grip on reality was not the cause of the issue after all :twisted:

Sat Mar 05, 2016 7:39 pm

andy,
why would you change the software and change pins/interfaces within what was a working setup?
working state to non-working is a hard failure, unless M$ anything is in use.

@bianchifan
that sounds more like software

awhile back i had fun with ILI9341ILI9341Displays, touch panels and LEDs… shows on my screen. I have used and programmed a few different types of SPI screens( ili9341 , st7735) using Python very successfully and these parallel screens have many of the…View in hardware catalog displays, eventually i ‘found’ a working combination of software, wiring, Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog and display.
i labeled the display and the MapleMapleDevelopment and computing boards…expensive short of buying in bulk. many resort to usb-serial converters. today comes leaflabs maple , stm32duino it is ‘disruptive’ in a similar light, user customizable usb is no…View in hardware catalog , cycled through all the ILI9341ILI9341Displays, touch panels and LEDs… shows on my screen. I have used and programmed a few different types of SPI screens( ili9341 , st7735) using Python very successfully and these parallel screens have many of the…View in hardware catalog displays i have. all worked.
swapping back to the original display, i went through my maples, surprisingly only one failed.
then i got a working setup together on a pill, then did a pass with all the pills.

having a bread board with a 40 pin ZIF socket is rather useful :D
i’ve done this exercise on my nokia displays, i2c and spi small displays as well.

now i have a Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog and a couple of pills with all their pins folded inward and flattened.

since then i’ve had some real fun with things not working, seemly rather insane, they seem to have disappeared with copious operation of the reset button, also disconnect/reconnect as well.
for pills, i always use stlink and for maples bootloader 2, never serial; for other boards also stlink to the appropriate pins.

but with a working setup suddenly non-functional :-
1. check connections – anything on a cable/ribbon – both ends electrically and visually – oc / sc / adjacent.
2. attached hardware(s) – individually on another board if poss – using the same software if possible, map to an alternative i2c or spi if not
3. connect another display if you have one
4. if possible, replace the board(cpu).
change software – no

whilst the hardware/software interface has migrated towards the latter, debug wise on a working setup
it’s much more likely hardware that has gone astray.

stephen

Sat Mar 05, 2016 9:58 pm

zmemw16 wrote:andy,
why would you change the software and change pins/interfaces within what was a working setup?
working state to non-working is a hard failure, unless M$ anything is in use.
……
stephen

Sat Mar 05, 2016 10:39 pm

@andy
apols, that was a bit of a broadside.

luckily i still have hair to pull out. sanity – not much and thinning. :D

i still have this feeling that something is not right. if i’m getting consistent behavior then i can set about finding it. inconsistent behavior is more difficult. i’d never be employed at Bletchley Park.

on STM32STM32Microcontrollers and processors…Map magic glue code, ethernet compiles, just WARNING: library LwIP claims to run on [ stm32 ] architecture(s) and may be incompatible with your current board which runs on [STM32]…View in hardware catalog , spi always seems to be a bit of a struggle, i2c also; at least to me, worse if doubled up( spi 1+2 or i2c 1+2.)
using spi or i2c and a nano or uno, they work.

why does a digital ‘system’ not behave in a deterministic manner, timing, race condition?
so is a Maple MiniMaple MiniDevelopment and computing boards…8MHz petertumler Thu Sep 24, 2015 10:58 am Hi, I’m trying to underclock a STM32F103 ( Maple Mini ) to 48MHz (for energy efficiency reasons). According to the datasheet .. The full…View in hardware catalog programmed with a sketch deterministic?

stephen
now looking for his crash helmet, yet again.

Sun Mar 06, 2016 12:17 am

When things start behaving oddly, not resetting, not booting and so forth, I tend to suspect the power supply first. Having said that, I recently built a simple opto-isolated serial board for my multimeter, from one of those cheap $2 Chinese usb serial boards and a photo-transistor recovered from an opto-isolator. It worked fine until I tried to assemble the whole thing in its completed form.

At that point…. nothing, not a flicker of life.. took it all apart, and started to test it, and it started working again. Much head scratching ensued..

The issue turned out to be my assumption that a single layer of insulating tape was sufficient to keep the PCB from shorting out on the photo-transistor.
Image
A little pressure on the board when it was in its case caused a sharp leg of the through hole 12 MHz crystal to pierce the insulating tape and contact one of the legs of the transistor.
Image

Hot glue and 2 layers of tape fixed the issue. What little remains of my sanity was preserved :lol:

Sun Mar 06, 2016 3:03 am

andy,
i use those bread board psu units fed with 9v or 12v, i apply a 1 hole offset/twist to them, hopefully it might improve the connections.

is my only seeing a no entry bar something i’ve missed in my 32 to 64 bit OS shift or at your end?

i cheated for pulse detection with ldr modules at about 60-65p, so i got a few, up to what free postage allowed me to! oops 33p on aliexpress, my orders says i got a pair and a quartet of them.

i suspect it”s an adjustment pot and a comparator with digital out, seems to work on 3v3 quite happily.

aside from that, max freq for a single analog channel would be – guessimate would do, arduino style & as direct as poss. any idea?
i’m wanting to capture approx 50mS pulses and wanting to see their edges. electricity meter 1000p/kw type.

further than that, feline eyes, definitely fully reactive, unequal pupils – natural for her or similar causes as in humans?

stephen

Sun Mar 06, 2016 1:53 pm

ahull wrote:The cause was poor soldering on the display board. The ribbon cable connecting the display to the board had partially separated from the PCB

Sun Mar 06, 2016 1:59 pm

zmemw16 wrote:andy,
i use those bread board psu units fed with 9v or 12v, i apply a 1 hole offset/twist to them, hopefully it might improve the connections.

Sun Mar 06, 2016 3:12 pm

excellent link for the feline
i’ve been putting her psychotic moods down to her 1st 6wks, the last of those weeks is apparently the ‘how to behave with humans, e.g. handling, tickling, stroking, playing’; reflects the personality of her then owner.
her behavior is consistent over last 3-4 yrs – so i don’t think it’s a real issue.
she’ll snap teeth or claws at you for seemingly nowt, it’s certainly improved my reflexes.
to be fair it is a snap or a bat; first time at least.
btw i think^H^H^H^H^H^H^H the ‘dreamie et al’ cat treats are addictive.

that dead picture, can you post the link as text or what its format?

stephen

Sun Mar 06, 2016 10:28 pm

zmemw16 wrote:excellent link for the feline

Post a reply

Optional · up to 10 MiB