• 0
ARP

Help with HS2 API development

Question

Hi,

I am a hardware designer tasked with coming up with HS2 compatible DLL's to suit a vendor requirement. We have a single tap JTAG for our project and have procured dozens of HS2 cables.

Can you please point me to code snippets that could do the following,

1.  INT32 openc(const char * ipaddress, const char * port)

2. INT32 readmem(UINT32 memAddress, INT32* valptr)

3. INT32 writemem(UINT32 memAddress, UINT32 val)

4. void closec()

I looked into sample code in digilent.adept.sdk_v2.4.2\samples\djtg\DjtgDemo\DjtgDemo.cpp, but it is not clear to me how I could translate it to the commands that I would need.

Thank you.

ARP

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @ARP,

I apologize for the delay; I'm not personally familiar with the API calls, though if haven't seen it already I do know there is a list of the available DJTG commands available in the DJTG Programmer's Reference Manual within the Adept SDK documentation. I have also asked another engineer for some feedback on this thread as well.

Thanks,
JColvin

Share this post


Link to post
Share on other sites
  • 0

@ARP

It's not clear to me how the map the listed functions to our API either because readmem and writemem have no meaning in the context of our JTAG API. Is there a description for how the functions you want to create are going to be used?

Thanks,
Michael

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now