Re: [Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-19 Thread Richard Weickelt
> 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 =

Re: [Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-19 Thread Denis Shienkov
> 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

Re: [Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-19 Thread Oswald Buddenhagen
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?

Re: [Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-19 Thread Andrzej Telszewski
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

Re: [Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-18 Thread Richard Weickelt
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

[Qbs] [baremetal] I looking proffesionals faced with Cypress FX2 && IAR

2019-10-17 Thread Denis Shienkov
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