I'm trying to get up to speed on the Padauk microcontrollers... but have hit a brick wall in my understanding and was hoping someone could help me get the basics down.
Specifically; I've done a little playing around but haven't gotten very far because I seem to be lacking some key pieces of information. I went to lcsc a few months ago and bought an emulator (5S-1-S-2b) [
https://lcsc.com/product-detail/Emulator_PADAUK-Tech-5S-I-S02B_C394018.html ] and some sample parts. LCSC did not have any programmers available for sale. For this project; I'm opting for the PFS154-s16 since I expect to be working thru some initial learning curves and don't want to be throwing away a lot of OTPs. For this project; I need all those IOs for various circuit functionality.
I've tried doing a couple of "emulated" projects. Once starting with
https://abnielsen.com/2019/04/24/driving-300-ws2812b-rgb-leds-with-a-3-cent-microcontroller-pms150c/WS2812b project ... talked about here:
https://www.eevblog.com/forum/microcontrollers/i-rainbowed-300-neopixels-with-a-pms150c-dI started with that project on the emulator because in my project; I'll be driving those LEDs. The project "sorta" worked; but it was having trouble driving the WS2812 strip... which I assumed was just due to user error.
Tonight; I wanted to start with a simple project which I could use as a spring board to launching into my own project. So I downloaded the "Hello World" demo from:
https://github.com/free-pdk/simple-pdk-code-examples/tree/master/HelloPFS154When attempting to run this demo on the emulator; the serial stream is corrupted. I can't ready the output of PA7 with my FTDI serial nor can my Agilent Scope decode the serial stream at 9600 baud.
Given both of these projects don't work as-is out of the box... makes me think I'm doing something stupid, missing something key, or just plain misunderstanding the purpose of the emulator. I'm wondering if there is a emulator vs real silicon "difference" that I've missed in the manuals. IE the emulator runs at a different speed or something.
Can I use these projects AS-IS on the emulator? IE isn't the purpose of the emulator of "in circuit" emulate the uC in an actual system? Do I need to make project changes to target this specific emulator? My assumption is no; since there doesn't seem to be a .CHIP directive for the emulators.
My project goals are as follows:
Use the emulator to debug/single step thru my development of the firmware to have a ?ideally? bug-ish free implementation when I move to the real PFS154-SO16 part. I have built a easyPDKprogrammer (
https://github.com/free-pdk/easy-pdk-programmer-hardware) ; but I haven't even powered it on to load the firmware onto it.
Initially; I thought I would be able to program a PDK project onto the chip using the free PDK programmer but now I'm not so sure... and wondering out loud if I'll then have to port my working emulated code to SDCC.

But I digress. Step one is to make sure I can do simple stuff... like target for the emulator. What am I missing?