Embedded Freaks..

August 5, 2010

Can you spot the problem ?

Filed under: programming-tips — Tags: — kunilkuda @ 10:49 am

This is what we called: the eye trick..Spot the problem if you can.

    ret = IAP_PrepareSec(sector_index, sector_index);
    if (ret != IAP_STA_CMD_SUCCESS)
        while (1)

	ret = IAP_CopyRAMToFlash(app_addr, (unsigned int)&data[0], 256);
    if (ret != IAP_STA_CMD_SUCCESS)
        while (1);

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: