Electronics > Microcontrollers

Air105 / Air32F103 - New chinese arm chips

<< < (10/12) > >>

IOsetting:
My apologies, the additional flash is fake. By further testing, I found it's just a repeat of the first 128K flash. I must have got mixed up cbt6 with cct6.  |O

fanoush:
That's interesting. With real STM chips devices <=128KB are medium density devices with 1KB flash pages, devices over 128KB are  high density devices with 2KB pages. So what the page size is before unlocking and when you unlock it? 1 and then it changes to 2KB?

IOsetting:

--- Quote from: fanoush on February 06, 2023, 09:15:35 am ---That's interesting. With real STM chips devices <=128KB are medium density devices with 1KB flash pages, devices over 128KB are  high density devices with 2KB pages. So what the page size is before unlocking and when you unlock it? 1 and then it changes to 2KB?

--- End quote ---
The flash page size of cbt6 is 1KB.
Sorry, the flash hack is fake.  :palm:

bingo600:

--- Quote from: IOsetting on January 29, 2023, 05:31:08 pm ---
--- Quote from: Kenjutsu on January 29, 2023, 03:53:50 pm ---Anyone know where I can get the daplink firmware that come with the Air32F103?

--- End quote ---

The latest daplink firmware can be found at
https://gitee.com/openLuat/luatos-soc-air32f103/tree/master/AIR_Jlink_Keil
air32_daplink.hex  -  for normal xxlink upload
air32_daplink_iap.hex - for virtual u-disk upgrade

If you want the original one that comes with the board, check out the earliest commit of air32_daplink.hex

--- End quote ---

Have any of you tried the new daplinkv2 hexfile from the above link ??
I'm preparing for my first daplink setup, and don't want to be hit by "bugs" if/when making my first baby steps w. daplink.

@IOsetting
Thank you for taking your time to describe the many MCU's , and  THANK YOU for the "Templates" you have made for them.  :-+ :-+

I have just compiled & loaded your AIR32F103 "blinky"  :)

Is there a special linux daplink program , or do you just use pyOCD or OOCD , and specify daplink as "programmer/protocol" ??
I have never used pyOCD , but have used OOCD quite a lot , back in time. And have just build OOCD from GIT.

I'm warming up to use it on a py32f003.
I also have st-link, and jlink-ob , but think i read that daplink is the way to go with those generic Cortexes.

Edit:
Anyone knows what pins are SWDIO and SWCLOCK on the Air32F103 daplink firmware ?


/Bingo

IOsetting:
@bingo600
Thank you, you are welcome!

The DAPLink firmware is for their
black board https://wiki.luatos.com/chips/air32f103/board.html
and tiny DAPLInk https://wiki.luatos.com/chips/air32f103/daplink.html
more details can be found at https://wiki.luatos.com/chips/air32f103/index.html

PCB of the black board:
https://cdn.openluat-luatcommunity.openluat.com/attachment/20220605164915340_AIR32CBT6.pdf
https://wiki.luatos.com/_static/bom/Air32F103.html

I haven't tried V2 but this should be the same as V1, what I know is it fixed the onboard LEDs and improved the download speed.
The source code can be found at https://gitee.com/openLuat/daplink

Pinout as a DAPLink
PB13: SWCLK
PB14: SWDIO
PB0: RESET
PA2: TX
PA3: RX

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod