46
General discussion / Re: DSJTAG from Seeedstudio
thank you for your answer. There are many versions on ebay. Can you give links to those you are using please?
Open Source Hardware
This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.
// function in RAM - callable from other RAM or Flash located functions
int __longramfunc__ __attribute__((noinline)) myRamfunct(int pDutty, int pFreq, int pOrder)
{
...
}
// function in ram can only be called from another RAM function residing in [b]same segment[/b]
int __ramfunc__ __attribute__((noinline)) myRamFunct2(int pRec, int pDataSize)
{
}
int __ramfunc__ __attribute__((noinline)) myRamFunct1(int pRec, int pDataSize)
{
}
int __ramfunc__ __attribute__((noinline)) myRamFunct2(int pRec, int pDataSize)
{
}
int __ramfunc__ __attribute__((noinline)) myRamFunct3(int pRec, int pDataSize)
{
}
int __longramfunc__ __attribute__((noinline)) ram_main()
{
//in this function, call your other functions attributed with "__ramfunc__"
myRamFunct1(...);
myRamFunct1(...);
myRamFunct1(...);
.. do all your processing ;)
}
// this is original main() in flash
int main()
{
ram_main(); // call to ram based main
}