• Please review our updated Terms and Rules here

8051/8052 SBC

Are you going to design a F340/0 board yourself or just an addon board for the AliExpress dev board?
I'm going to start with the AliExpress one, while designing my own board based off the schematics of the aliexpress one.
 
I received my 380 plus programmer yesterday evening. As it was one day late, I received a refund of of one Euro as well. Gert will understand: "Hebbe is hebbe en krijge is de kunst" :)

My wife got ill so I have to delay some hobby related things as I have other priorities right now. So I will come back later what I have in mind with this board.
 
OK, something else. I'm also busy "cleaning" my room, including sorting out ICs I collected in the years. That's how I ran into 25+ Philips89C51RC square ICs. Have been ripped out machines I had to discard at my previous job. Is this interesting to someone?

Because of these I ran into a bunch of 8751s, 8741s, 8742s, 8748s and one 8749. If interested, let me know.

BC I have to limit my attention, all for free, just P&P.
 
I received my 380 plus programmer yesterday evening. As it was one day late, I received a refund of of one Euro as well. Gert will understand: "Hebbe is hebbe en krijge is de kunst" :)

My wife got ill so I have to delay some hobby related things as I have other priorities right now. So I will come back later what I have in mind with this board.
Important things first Ruud, hope your wife gets well soon.
 
I'm going to start with the AliExpress one, while designing my own board based off the schematics of the aliexpress one.
You could try and design a board on top of the dev board with some extra functionality. If you limit the amount of external RAM a bit you can add some IO space. I now have one dev board with 32kB and one with 64kB (it is a 128kB really) but both of them have plenty of space for Basic programs. My top board has a header for the LCD display and also a re-directed header for the USB programmer since that port is obscured by the board.

Currently fiddling with the 4GB AliExpress Sandisk microSD cards. My host PC can read and write them just fine but my current C8051F380 code can not initialize them. So I have to go through my code again to see where it is struggling :-)
My earlier Verbatim 4BG SD HC card works fine but I read that different brands SD cards have specific quirks for initializing them.
 
You could try and design a board on top of the dev board with some extra functionality. If you limit the amount of external RAM a bit you can add some IO space. I now have one dev board with 32kB and one with 64kB (it is a 128kB really) but both of them have plenty of space for Basic programs. My top board has a header for the LCD display and also a re-directed header for the USB programmer since that port is obscured by the board.

Currently fiddling with the 4GB AliExpress Sandisk microSD cards. My host PC can read and write them just fine but my current C8051F380 code can not initialize them. So I have to go through my code again to see where it is struggling :-)
My earlier Verbatim 4BG SD HC card works fine but I read that different brands SD cards have specific quirks for initializing them.
I want to have 32K. Will that do?
 
If I were to hook up an active buzzer to the PWM channel, could I control pitch? I'm looking to find a way to implement basic sound capabilities onto my homebrew.
 
1773891303276.png
I racked this up today while using my homebrew as my main computer for a bit, if anyone can beat this please do it.
 
If I were to hook up an active buzzer to the PWM channel, could I control pitch? I'm looking to find a way to implement basic sound capabilities onto my homebrew.
In the MCS-52 Basic manual is a complete list of all notes and frequencies you can achieve with the PWM statement.

An active buzzer however has an inbuilt circuit to generate a specific tone so it is not usable.
Just use a small dynamic or piezo speaker and a transistor to drive it.
 
In the MCS-52 Basic manual is a complete list of all notes and frequencies you can achieve with the PWM statement.

An active buzzer however has an inbuilt circuit to generate a specific tone so it is not usable.
Just use a small dynamic or piezo speaker and a transistor to drive it.
Alrighty, thanks!
 
Hello, I was wondering if an 103j is really necessary to connect P0.0-7 to the 74HC573. I'm moving to perf board with wire wrap and was wondering this question.
 
Hello, I was wondering if an 103j is really necessary to connect P0.0-7 to the 74HC573. I'm moving to perf board with wire wrap and was wondering this question.
The 10k pull up resistors are necessary to have a defined level when reading the databus and nothing is driving it. If you use a 9 pin SIL array version it is a piece of cake to mount it next to the cpu since the ninth (common) pin ends up right next to Vcc.
 
The 10k pull up resistors are necessary to have a defined level when reading the databus and nothing is driving it. If you use a 9 pin SIL array version it is a piece of cake to mount it next to the cpu since the ninth (common) pin ends up right next to Vcc.
Noted. I will put the array in one of my spare wire wrap sockets and use that. Your help is very much appreciated, thank you!
 
Ok, wire wrapped the first part without the 32k, tested it with my old very tiny interpreter and it worked!
 
OK, things go fine right now: my wife got better and I was able to clean my room more or less. Explanation: in time I gathered a lot of stuff but now I had quite some time to sort it out. I decided to release stuff I think I most probably won't use anymore. Therefore these questions if anybody was interested in these Intel 87xx and P89C51RA ICs.

Next step: find out what I want to do in my spare time. If you check my site you will see I have a lot of projects, may be to many. But one of them I want to focus on is this 8052 project. As you already noticed, I built and bought various 8052 (compatible) boards. And to be honest, I haven't tried my 380 board yet. So I have to find out several things. Some are quite simple but nevertheless needed.

- Does the 380 already contain a program so if you connect a terminal, you can see at least a message on the screen?
- If not, Gert, what did you do to program it?

I want to add removable storage to my boards. Not only the 380, but also the Shotech and the expanded Aliexpress board. This can be as simple as a FlashRAM/EEPROM. But I would like to use SD cards if possible.
- Gert, what have you done so far?

Next step is attaching a SPI video board to any of my boards. I received two small ones from a friend but haven't done anything with them yet, lack of time. I even have to find out if they are for 3V3 or 5V systems. The 380 accepts 5V and can create 3V3 onboard but I still haven't found out if the outputs of the board are 5V or 3V3.
- Gert, you are the one who managed to run a SPI video directly, can you give some info on this, please?

Thank you very much in advance!
 
OK, things go fine right now: my wife got better and I was able to clean my room more or less. Explanation: in time I gathered a lot of stuff but now I had quite some time to sort it out. I decided to release stuff I think I most probably won't use anymore. Therefore these questions if anybody was interested in these Intel 87xx and P89C51RA ICs.

Next step: find out what I want to do in my spare time. If you check my site you will see I have a lot of projects, may be to many. But one of them I want to focus on is this 8052 project. As you already noticed, I built and bought various 8052 (compatible) boards. And to be honest, I haven't tried my 380 board yet. So I have to find out several things. Some are quite simple but nevertheless needed.

- Does the 380 already contain a program so if you connect a terminal, you can see at least a message on the screen?
- If not, Gert, what did you do to program it?

I want to add removable storage to my boards. Not only the 380, but also the Shotech and the expanded Aliexpress board. This can be as simple as a FlashRAM/EEPROM. But I would like to use SD cards if possible.
- Gert, what have you done so far?

Next step is attaching a SPI video board to any of my boards. I received two small ones from a friend but haven't done anything with them yet, lack of time. I even have to find out if they are for 3V3 or 5V systems. The 380 accepts 5V and can create 3V3 onboard but I still haven't found out if the outputs of the board are 5V or 3V3.
- Gert, you are the one who managed to run a SPI video directly, can you give some info on this, please?

Thank you very much in advance!
Hi Ruud, glad to hear your wife got better.

The F380 dev board does not come with any software installed. You can try install Simplicity Studio version 5 (important as their new version 6 does not support 8051 anymore).
Simplicity Studio recognizes the programming adapter and the board/cpu connected to it. There is a Linux version on the website.

I am using 'geany' as main IDE on Linux though, with a native 8051 assembler and some tweaks so I can use 'geany' menu functions like 'Assemble' and 'Execute'. You need the command line tool from Simplicity Studio to upload the assembled program through the debug/programming adapter to the F380 board. I will make some instructions on how to get that running under Linux.

For what is running/working already on the dev board:
  • External memory expansion (up to the full 64kB), fast SRAM needed, preferably less than 25 ns for zero wait state access (old PC cache chips work fine).
  • A modified version of MCS-52 Basic V1.31
  • Lots of additional code for driving and using a 320x240 ILI9341 LCD panel
  • Alpha SD card support, at the moment it only seems to work with one of my 4 GB SDHC cards and my 'MiniFS' resulting in 32 MB of storage with 255 file capability.
(note: both the LCD and the SD card use the built-in hardware SPI interface, just with separate NSS/select lines)

In the pipeline:

  • support for different brands SDHC cards
  • real FAT FS support based on the Arduino SDfat libraries
  • virtual COM port over USB (it works with the example C code from SiliconLabs) which would free up the RS232 port for a printer for example
  • cleaning up the Basic code further, lots of obsolete stuff already removed.
 
I got Claude to port the Arduino SDfat code to sdcc (8051 C compiler) with the restrictions to use only 8+3 file names, register bank 3 and only internal XRAM. I ran out of free access time to Claude for today but it gave me quite some bits of code including hooks to call it from Basic.
Will need to review and test it but it looks promising.
 
A question: is there a manual available for the V1.31 or V1.32 version available? Strange thing: when googling for '8052AH basic "V1.32"', only the Shotech site pops up. Without the 'AH' not much extra.

I found a message that said that if I wanted to see the difference between 1.1 and 1.32, I had to check/compare the source code. OK, can be done but what about 1.32? Did somebody at least create a list of the differences?

I think I'll start with this Shotech board first because I know it works. In the mean Time I try to figure out how to program the F380 as well. And I start to document everything on my site. Very very little yet but there is a start :)
 
Back
Top