Search found 83 matches

by arpruss
Thu Mar 16, 2023 1:39 pm
Forum: General discussion
Topic: "Original chip" blue pills on AliExpress
Replies: 7
Views: 1382

Re: "Original chip" blue pills on AliExpress

Here's what the diagnostics I ran do: A silicon bug in genuine STM32F1xx chips is exploited, namely the BGMCU_IDCODE cannot be read from within the MCU without a SWD or JTAG interface connected. Verify the Flash Size Register = 64KB Verify that the MCU has a hidden second 64KB flash block. Most STM3...
by arpruss
Thu Mar 16, 2023 5:11 am
Forum: General discussion
Topic: BluePill: why such a huge code size?
Replies: 7
Views: 1508

Re: BluePill: why such a huge code size?

I bet it's a bit smaller if you use the libmaple core, too.
by arpruss
Thu Mar 16, 2023 5:09 am
Forum: General discussion
Topic: Looking for perfect board
Replies: 7
Views: 1921

Re: Looking for perfect board

I wouldn't give up on the blue pills. They're cheap and they work well. Yes, there are lots of clones, but I've generally found those to work well enough for most of my purposes, and it seems that now genuine chips are available. See my recent post where I link to a store where I got six apparently ...
by arpruss
Thu Mar 16, 2023 3:33 am
Forum: General discussion
Topic: "Original chip" blue pills on AliExpress
Replies: 7
Views: 1382

Re: "Original chip" blue pills on AliExpress

I just ran the diagnostics on the other five units in the order. All passed.
by arpruss
Thu Mar 16, 2023 2:57 am
Forum: General discussion
Topic: "Original chip" blue pills on AliExpress
Replies: 7
Views: 1382

Re: "Original chip" blue pills on AliExpress

I ordered half a dozen of the "original chip" blue pills from https://www.aliexpress.us/item/2251832533365278.html . I just unwrapped one. I was kind of expecting fakes, but I did some tests. 1. The STM demonstrator reports 64kb flash, but in fact there is 128kb, just as on a real chip. So...
by arpruss
Mon Feb 13, 2023 2:03 pm
Forum: General discussion
Topic: "Original chip" blue pills on AliExpress
Replies: 7
Views: 1382

"Original chip" blue pills on AliExpress

Some AliExpress sellers are now advertising "original chip" blue pills. Has anyone tried them? Are they still just clones?
by arpruss
Wed Jan 11, 2023 3:54 pm
Forum: General discussion
Topic: Clones and RTC
Replies: 8
Views: 1822

Re: Clones and RTC

I found an odd thing: for my clone, things worked a lot better if I did:

Code: Select all

  RCC_BASE->BDCR |= RCC_BDCR_RTCSEL_LSE;
  bb_peri_set_bit(&RCC_BASE->BDCR, RCC_BDCR_RTCEN_BIT, 1); // Enable the RTC  
before setting the prescaler, rather than after.
by arpruss
Wed Jan 04, 2023 5:14 pm
Forum: Libraries & Hardware
Topic: USB Composite library updated to 1.0.7
Replies: 0
Views: 7641

USB Composite library updated to 1.0.7

I've updated my USB Composite library to 1.0.7: https://github.com/arpruss/USBComposite_stm32f1
The main new thing is you can call USBHID.setTXInterval(t) for making devices that can be polled faster.
by arpruss
Mon Jan 02, 2023 6:58 pm
Forum: Projects
Topic: Dumping NES ROMs
Replies: 0
Views: 7329

Dumping NES ROMs

I wanted my own legal copy of Duck Hunt so I bought an ebay cartridge. I desoldered the mask ROMs with a heat gun and dumped easily with a black pill (also works with a blue pill) which has enough pins for the job. One just needs to make sure that the mask ROM is powered with 5V and that the STM32's...
by arpruss
Tue Dec 27, 2022 3:10 pm
Forum: General discussion
Topic: USBComposite and keymapping
Replies: 3
Views: 4898

Re: USBComposite and keymapping

Background: https://stackoverflow.com/questions/393 ... d-keyboard

I guess you'll need to generate a map for the locale. I don't think there is a general solution on the stm side.

Go to advanced search