On Sat, Oct 19, 2019 at 11:12:21AM +0200, Richard Weickelt wrote:
I'd be interested to see a "modern" 8051 chip.
depends on your definition of "modern" ... ^^
https://jaycarlson.net/microcontrollers/ has a nice shoot-out.
For instance by finishing Qbs' half-way implemented multiplex
facilitie
> It did not helps, because a problem is somewhere deeped. E.g. in this code:
>
> static BOOL ep0_std_descriptor_proc(void)
> {
> BYTE XDATA *pdesc =
> (BYTE XDATA *)hid_ep0_std_desc_get();
> if (pdesc) {
> SUDPTRH = usb_word_msb_get(pdesc);
> SUDPTRL = usb_wor
> using toolchain-specific c extensions
IAR has not declarations of this registers for this chip. But, I have
declared all Cypress FX2 registers in a regs.h file. So, it takes from that.
PS: I'm not stupid. ;)
19.10.2019 10:33, Oswald Buddenhagen пишет:
On Sat, Oct 19, 2019 at 10:13:45AM +03
On Sat, Oct 19, 2019 at 10:13:45AM +0300, Denis Shienkov wrote:
something wrong with SUDPTRH && SUDPTRL features.
such registers are typically declared using toolchain-specific c
extensions. are you sure qbs is picking up the the headers from the IAR
toolchain?
___
Hi Richard,
> - interrupt tables not correctly initialized
> - missing volatile qualifier in variables shared between task and
interrupt
> context.
I'm don't use an interrupt handlers. I do polling for the interrupt
flags in a main loop.
> - use a GPIO and a logic analyzer to output serial
On 18/10/2019 23:02, Richard Weickelt wrote:
Why should anybody invest time in using Qbs on 8051?
Funnily, it is still very alive and used in many new chips.
If I recall correctly, TI uses it in some of its Bluetooth chips.
And I saw it recently in some new chip, but kill me, I can't remember
Hi,
> Currently it does work with Keil C51 compiler && SDCC compiler. But, it does>
> not work with an IAR 8051 compiler.
I guess you do not have JTAG access to this device and can step-debug. But
it looks like you have GPIOs that you could access with a logic analyzer.
> I don't know why, but
Hi guys,
I want to add an additional example which implements the USB HID Game Pads
for the NES (Dendy) Joysticks:
* https://github.com/denis-shienkov/nes-gamepads/tree/fx2
This example based on a Cypress CY7C68013A chip:
* https://www.cypress.com/file/138911/download
which is based on 8051 ar