AS7 and .cof files from ICCAVR

Go To Last Post
71 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It seems not possible to load these files into AS7 to debug them using a simulator.

It works fine in AS4 on an XP computer. But turning to AS/, Win7 x64....NO

Is evolution going backwards?

How to solve?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What does not work?

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

HI, back again. Well, the AS7 does not reckognize .cof as valid format. So I canät debug ICCAVR created SW.

The only way is to use the .hex file and then I can't dp debugging, just run.

Suggestions? Is it possible to import the ICCAVR c-code into AS7 without to much trouble?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ciroohn wrote:
ICCAVR

Are you using Imagecraft ?   Or IAR?

What version of Imagecraft are you using?

What version of AS7 are you using?

 

sim debugging works for me using code from Imagecraft  *.cof files.

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

Last Edited: Thu. Feb 28, 2019 - 09:44 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Open AS7

 

click File/Open/Open object file for debugging

select your .cof file

 

start debugging, choose simulator for debug tool

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm using ICCAVR7.22C. With AS4 this works wonders.

AS7 will not accept the cof files.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, but I will have to use a real debugger to access my boards. The simulator is not an option.

It stop when trying to open the cof file, it does not accept it.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ciroohn wrote:
AS7 will not accept the cof files.
How is that showing itself? Does it show some kind of error like "can't read COFF format" or something?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yes. It will read the hex file but not the cof or dbg.

The AS4 reads the cof without problem so there is probaböy that the want to shut out ICC from their world.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ciroohn wrote:
. It will read the hex file but not the cof or dbg.
You still aren't saying how this shows itself. Does it show some kind of error message when you try to load COFF?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Codevision still produces .COF files.   It also seems to produce an .ELF file too.

 

Anyway,  you can open the .COF file in AS7 with "Open object file for debugging"

And it seems to work just fine.

 

If you want to attach your source files,  I could build in CV.   And try to debug from the .COF file using ATMEL-ICE.

 

I appear to have an ImageCraft demo v7.18B c 2008 on this PC.

I presume that v7.22 might be 2009-2010.   It sounds pretty ancient.

 

I strongly advise that you update your project to run with current tools.

 

Which AVR is your target?

Which debug tool are you using?

Why do you want to use an "elderly" compiler?

 

Note that historic GCC object files were not always perfectly formed.

I suspect that historic ImageCraft and Codevision .COF files were not always perfectly formed either.

AS4 might have "worked" but only through kludges.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I looked at the Image craft site and the current version seems to be 7.23 so perhaps 7.22 isn't that old in fact?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think you will find that v7.xx stopped many years ago.

They then released v8.xx which never caught on with the die-hards.

I think that v8.xx has been replaced.

 

I am sure that elderly ImageCraft versions were pretty stable.    They should still produce viable code for the AVRs of their era.

 

Whereas there were "certain" historic GCC versions that I would avoid.

You could still make viable projects with certain WinAvr packages.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Oh I see. I was simply looking at:

 

 

And missed the fact that these were "legacy". As you say 8.29.01 is the "current" one for AVR.

 

Wonder what version Jim is using that clearly works with AS7 ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It looks as if JumpStart C for AVR is the current product.    The screendump on the website shows v8.16

 

This may be ICCV8 or something different.

 

I would guess that any current users will be able to explain.

 

All the same.   I would expect AS7 to debug historic .COF objects ok.

I can probably find old .COF files on my PC.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

david.prentice wrote:
I strongly advise that you update your project to run with current tools.
Sometimes the customer will require a specific toolchain; reason : a body of work and effort in regression testing, verification testing, and validation testing

Couldn't find any mention of Atmel Studio 7 in ICCV8 for AVR; second instance of Atmel Studio is at 18-Feb'14 :

imagecraft.com/pub/readmeAVR.txt

...

 

V8.18.00 - 2015/08/14

...

  - No longer requires VS 2010 runtime (introduced in 8.17.00) that was
    needed for Atmel JTAGICE3/Atmel-One support. 

...

 

...

 

V8.12.02 - 2014/02/18
  Linker
  - Fixed an issue with debugging with AVR Studio 6 and the cursor did
    not stop at the first executable line properly.

    Note that there is still a slight off-by-one with AVR Studio 4.x
    sometimes.

 

...

at

V8.19.01 - 2015/10/19

is a mention of the JumpStart Debugger demo so that may be a temporary work-around.

Maybe Atmel Studio 6.2 :

AVE and SAM Downloads Archive | Microchip Technology

 

P.S.

Is there a demo ICC AVR in Microchip Gallery | Home indecision

Thanks!

 

P.P.S.

Why I post - I received a verbal chastisement from one in Information Technology for my trialing a more recent instance of a computer language toolchain (not AVR)

 


JumpStart C/C++ Compilers (Imagecraft Creations)

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In #5 above, I downloaded / installed AS7, then opened a .cof file produced by Imagecraft C. 

Follow the steps in #5 above and tell us what happens, also tell us what version of AS7 you are using! (I down loaded the latest from the MC website yesterday)!

All of this on a Win 10 pro 64bit system

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Jim,

Which version though? 7.x or 8.x?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Wonder what version Jim is using that clearly works with AS7 ?

v8.28.05  which should be fairly recent, although I have not looked to see if it needs updating. 

(just updated to latetest version, will retry test, also downloaded latest version v7 as well)

 

Jim

 

If I recall correctly , there where some changes made to the coff files in later  early versions of v7(7.02) due to incompatibilities with AS6 at the time.

The OP should update to latest version of ICCAVR and if still having problems, contact Richard for help.

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

Last Edited: Fri. Mar 1, 2019 - 02:18 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Repeated the test using the latest ICCAVR v8.29.1 and AS7 v7.0.1931 on a Win 10 pro machine,

All worked as expected debugging with the simulator, I don't have any debug h/w here.

 

I'll repeat using ICCAVR v7 when I can. 

The latest v7 did not work, seems to be missing a file, I emailed Richard about it, hope to hear back soon.  Richard got back right a way!

Richard said my anti-virus protection is the problem, so I will get support involved on Monday to fix this.

 

Jim

 

 

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

Last Edited: Fri. Mar 1, 2019 - 09:47 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:
Is there a demo ICC AVR in Microchip Gallery | Home indecision

Thanks!

 

Demo can be freely downloaded on the Imagecraft site. You want Jumpstart C for AVR

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, in answer to some questions - the AS7 cannot load the project file (no file loaded) and does not reckognize the .cof as an editable

file. So the AS7 cannot work with these types. Why has Microchip chosen to disconnect themselves from the

entire ICC world? If changing to another IDE then it will have to be something that stays stable over the years

and not is being flushed out just to make more money. Or I skip Microhip altogether. Which perhaps is better.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just went to the Imagecraft site and downloaded (from "legacy") the demo version of ICC7:

 

 

I built the code you see above. I then switched to AS7 and loaded the COF file...

 

 

So I kind of wonder why it works for me and not for you??

 

You still haven't really said what does not work. All we have so far is:

ciroohn wrote:
AS7 cannot load the project file (no file loaded) 

But I don't understand that. The way you debug a COF built in ICCAVR is:

 

 

Which is exactly what I did. It in turn lead to:

 

 

On pressing [Next>] it then asked me to say which AVR (so I said "mega16"). It then creates an AS7 project that can be debugged.

 

As far as I can see all this simply works?!?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi Thanks for reply. Yea I get that far as to your last screen dump, but the next step says (using mega1281) "noproject loaded".

Thanmks to you persistence I began questioning myself and when looking to right I found the code! Thouh still no project.

So, then I will have to use the Atmel-ICE since the AS/ does not like the JTAGICEmkII.

But, when using Atmel-ICE, it says "no no JTAG eice selected" despite the fact that I've just chosen to use the ATMEL-ICE.

The Atmel environment seems very buggy, is that why they sold it all off to Microchip? A bail-out?

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

And closing AS7 and using the compiled åroject makes no diff. But the Atmel ICE is visible in the Device Handler.

Tje whole Atmel stuff sucks since MC took over.

Ok will have to get back tothe XP machine where ALL things work neatly.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ciroohn wrote:
Hi, in answer to some questions - the AS7 cannot load the project file

Of course it can't, it's not an AS7 project! It's an ICC AVR project!  Just like it can't open an Eclipse project or an IAR project, or a CV project!  It never has or will!

 

ciroohn wrote:
and does not reckognize the .cof as an editable file.

Again, who would edit a .cof file?   It is a project output file...

 

ciroohn wrote:
Why has Microchip chosen to disconnect themselves from the entire ICC world?

Huh??? What connection are you talking about?

 

Cliff and I have shown you how to open a .cof file in AS7 and start debug.

Show us where your having a problem.

 

I suggest you produce a small complete ICCAVR project, tell us what AVR your using and post it here as a zip file, tell us what debugger you are using.

Then one of us can show you how to start debug and step through your code.  It really is easy to do.

 

Jim

 

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It is bad I have to repeat myself. The comments given by AS7 are not mine. I can't help that AS7 tells me those things.

When I get as far as starting the debug session it says that "NO debug unit is installed", even though the Project Options clearly

shows the Atmel ICE and that I selected it. And that it clearly shows in the Device Handler.

That reply came when I  in the source code window tried to start the debug with the Atmel ICE connected to target and the

taget had proper voltage. I have used the Atmel ICE on a Win10 before and there it worked well with programloading and

setting of properties on the board. But my dev environment is Win7 or XP. On win7 (x64, 16GB SRAM) the AS7 does not work

with either the Atmel ICe or JTAGICEmkII or the AS4 does not work with the JTAGICEmkII even though bort debuggers are clearly visible

in the Device Handler. On at a time, not both at the same time.

I tried various debug commands from the Debug pull down, but all gave the same result. No ICE available. I tried to update the ICE SW

but still it said . no debugger available.

So, why can the Device handler see the debuggers, but neither AS7 or AS4?

How to solve itm if at all possible?

 

 

 

 

Last Edited: Wed. Mar 6, 2019 - 08:26 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

please see below. It was AS7 who wanted to edit the cof file, not me. When opening the cof it simply said something like "not editable file", which surprised me

and it ended. Now I have came one small step forward just to find that neither AS7 nor AS4 can find its resp debugger even though visible in the Device Handler.

More below

rgds

ciroohn

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

for all - yes the Jungo is intalled in my system. The x64 version I have expressly installed since this is a x64 machine.

It did not work wirh the x32 either.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This an interesting page - when trying to start the debug I can see the Tools window with the Atmel IDE and its number. I have selected JTAG.

Default JTAG speed of 200kHz (10MHz target clock).  On top of this I have another small windows that says "Launch failed" and "Failed to lauch program. Error: No JTAG devices detected. Debugger Command

Activate Physical failed". Quite a nice contraction - right?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This an interesting page - when trying to start the debug I can see the Tools window with the Atmel IDE and its number. I have selected JTAG.

Default JTAG speed of 200kHz (10MHz target clock).  On top of this I have another small windows that says "Launch failed" and "Failed to lauch program. Error: No JTAG devices detected. Debugger Command

Activate Physical failed". Quite a nice contraction - right?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ciroohn wrote:
my dev environment is Win7 or XP. On win7 (x64, 16GB SRAM) the AS7 does not work with either the Atmel ICe or JTAGICEmkII

Lets stick to one platform for now.   Win7 w/ AS7 and Atmel ICE debugger.    XP will not support AS7 or the Atmel ICE, although it should work with AS4.19 and JTAGICEmkII, as that is what I used when I started with AVR's, many years ago.

 

So back to the Win7/AS7/Atmel ICE.  Lets stay here for a while.

I don't have this combo at work, can another Freak jump in here and help with this one combo?

I see the OP has started another thread on this topic here: https://www.avrfreaks.net/forum/...

Jim

 

Moderator: can you lock this thread please?

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

Last Edited: Wed. Mar 6, 2019 - 09:30 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Post a sample project.    e.g. source files and .COF file.    Put it all in one ZIP.  Attach the ZIP

 

Then we can try it on AS7 for ourselves.

 

This is exactly what we used to do with CodeVision, ImageCraft.   i.e. debug from the .COF

 

I am sure that it will all work just fine.    I can even try to run it on real ATmega16 hardware with either JTAGICE-mkII or ATMEL-ICE

I have Win7-32 Laptop or Win10-64 Desktop.    Other readers might have a Win7-64 PC.

 

I could probably create my own ICCAVR7.22 .COF files

But only your 7.23 .COF files would convince you.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well,   I found v7.23 and downloaded the Demo.   Installed on my Desktop Win10-64.

 

Built a 16kB program with ICCAVR7.

 

Opened the .COF file in AS7.0.1931 for debugging.

 

Then debugged a real mega16 with PICkit4 JTAG.   Followed by debugging with JTAGICE-mkII JTAG.    I could use ATMEL-ICE if I could find my 2.54mm 5x2 adapter.

 

Not too sure what the .DBG file is.   But it is considerably smaller than the .COF file.  So it probably has less data.  And AS7 rejects it.

 

David.

Last Edited: Wed. Mar 6, 2019 - 11:06 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As far as I could see DBG is created alongside COF. Looks a bit like Microsoft's EXE+PDB setup? Presumably some debug details are held alongside and when the debugger is asked to open foo.cof it looks for and opens foo.dbg too?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I can't be bothered to investigate the .DBG file.

 

The important conclusion is that AS7 on Win10-64 can debug the .COF file with a JTAGICE-mkII

 

Since cirhooon owns both ATMEL-ICE and a JTAGICE-mkII he can use whichever he wants.

 

I would be 99.5% confident that AS7 will work fine on Win7-64 but a Win7-64 user could confirm.

 

It would be sensible for cirhooon to explain his particular choice.

It might be maintenance of of a legacy product.    Perfectly reasonable to stick with ICCAVR7.23

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

what happens is that the .cof is loaded, BUT no source code, just the ASM code which makes it very hard to do a decent job.

In the AS4 this was real good. include screendump to show you how it looks after .cof is loaded = NO .c file visible!

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Rubbish.   AS7.0 will work with .COF files.

 

If you actually want help,   you would post your ICCAVR project.   And post your AS7 project.    ZIP up the appropriate directories and attach to your message.

 

Any real project will be ok.    Just as long as readers can build it on the ICCAVR7 Demo.    And use AS7 on a Win7 and Win10 machine.

 

There is no need to reveal your TOP-SECRET project.    Any public code will do.

 

Mr Samperi has made some effort to help you with JTAGICE-mkII

Several members might build and debug for you.    I only have Win7-32.   But others will have Win7-64.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, yes, and I appreciate that. I was asked to send the screen dump anddid so.

Thee is no AS7 project since I don't need one. Just load the .cof and start debugging.

Too simple?

Mind you, that I've repeatedly uninstalled, restarted WIn7 and installed AS7, And every time

I do this I get "Backend agent not running (no tool available)" a number of times. Is that where the error is?
What is the "backend agent" and what payment is required to get back to work?

Or is it on permanent vacation?

 

Attachment(s): 

Last Edited: Sat. Mar 16, 2019 - 03:28 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

See #23. I did exactly what's suggested, created an ICC project, generated COF, debugged in AS7. I got C source.
.
Wonder if ICC has an option like avr-gcc's -g option. If you don't use that you don't get symbolic source info.
.
When I tried ICC I downloaded, edited C, built it. I did not change any project options so everything was at default.
.
BTW have you asked Richard at Imagecraft? He's very helpful and should be able to sort things out because clearly AS7 can do source debugging of COF. My pictures in #23 prove this.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Likewise.    ICCAVR provides the debug information in the .COF file as default.

 

Yes,  you create an "Objectfile project".   

 

It would take 2 minutes from your life:   ZIP up any real ICC project.   Attach it.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

HI, if my version of the AS7 has that function, I will try it out. I only wish to use it for debugging, nor

for code writing etc. Thanks, I will get back, right now I'm maing a HDD backup just in case...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

But others will have Win7-64.

I do.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Case is - I just reinstalled AS7. And, I got 4 errors "Atrmel Backend agent has stopped working"

No explanation what this really means except that I understand it is a SW error and that the

JIT in VS in not installed.

So, the AS7 is far from bug free!

My machine is HP with i5-4590 x64, 26GB RAM. Win7 Pro SP1.

So, the installation is faulty.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ciroohn wrote:
So, the installation is faulty.

Or maybe you have antivirus/anti malware software that is preventing the installation from working properly.  That was the problem I had.

 

ciroohn wrote:
So, the AS7 is far from bug free!

Show me software that is completely bug free.  Especially when Msoft is involved.

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

....or maybe you broke a few mirrors or killed some black cats....

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

that weird comment does NOT show up when installing AS4 on Win7.

But AS4 cannot access the JTAGICEmkII though it is seen in the DevmGR.

The first time I installed AS7 this did not happen.

The only security thing I have is MSE.

I take no one in the world knows how to resolve this.

I downloaded the AS7 from th MC site.

Reinstalling is done in this way: uninstall, reboot, install.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

a most serious explanation. I think that maybe a Koala would

do a better job...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

or maybe it's because Trump wants to build the mexican wall?

Should I try to use alcohol to sanitize the computer?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Go on.   Readers have bent over backwards to help you.

 

If you provide an ICCAVR project,   we could show you it working with AS7.0 on Win7-32, Win7-64, Win10-64, ...

 

We could even show you if it works with JTAGICE-mkII,  ATMEL-ICE,  ...

Or not.

 

We know that AS7.0 will run on Win7 and Win10.

Which means that you will just have to exorcise your black cats.

 

The real mystery is why are you using ICCAVR7 ?   Why do you not ask Richard ?

 

I would have a lot of sympathy with someone who only has a JTAGICE-mkII.   But you have an ATMEL-ICE which is much superior.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I know and I appreciate that. And - I've spent days to solve this. Mind you that this is what I do for a living.

Develop products mainly based on AVR processors. Spending days trying to make an IDE work in Win7 is

not my cup of tea.

 

I'm doing this in order to have a backup the day my XP takes permanent vacation.

If I knew why the backend agent stops working during the installation, I would not have to ask.

If I knew why the AS4 does not see the JTAGICEmkII while the DevMgr does., I would not have to ask.

But MS, like IBM, does never tell you WHY you get an error, just that there IS an error, somewhere.

It was the same back in 1968 when I began with computers. No explanation - you would have to

call the IBM gods of support to come and look. And the CHARGED....

 

ICCAVR7 is simple yet powrful (for an experienced programmer). Richard has been asked and he takes his hands

off AS7 as he now sells his Jumpstart IDE.

Even there - a program that runs well on AS4/ICCAVR7 gives unexplainable compiler errors in Jumpstart.

It points to a list of items (items given in the list) and says that this item must have more than zero bytes (number

of bytes given in the list statement). Richard could not help.

 

It seems crucial to know WHY the backend agent stops working. I use only MSE for security. Nothing else.

Funny thing is that I can develop VB apps that can install on XP, Win7 and Win10 without problems.

But the AS7 causes repeated problems. WHY?

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I just found that AS7 when installing itself, creates the folder for the atbackend and puts write protection on it.

Which gives the result that it has stopped since when the installer tries to access it, it cannot since I'm not the administrator

even though I run the the installer as admnistrator.

The clumsy AS7 forces me to move all my development to work only under admin login....  LOL

So much for internet security....

 

But the AS7 will not accept the .cof made by ICCABR7 which is MY environment.  As I have shown, it will accept the hexfile

but not the c source, which is quite handy when havng large systems to debug.

 

Am I supposed to buy a new compiler every year? Even though the old one does a proper job?

I've developed highly complex control systems with this compiler (hundreds of pages size A4 of code)

and have no intention to do a transfer to another compiler.  Each vwrsion of c-compiler has its idiosyncrasis

and converting about 200 programs of large size would take more than a working year to complete.

 

Stil, I've not found any c compiler as fast, efficient and powerful for embedded work as the ICCAVR7 for AVR controllers.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

and I just found that when installing AS7 when logged in as admin, it gives the same result = "atbackend has stopped working".

Clearly an AS7 fault. This is the lates AS7. Where can I get pevious one?

How to remedy?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ciroohn wrote:
This is the lates AS7. Where can I get pevious one?
AVR and SAM Downloads Archive | Microchip Technology

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

However I try, the AS7 will NOT show me the source code when debugging. The link to the source is said to be "resolved" and shown.

But when accessing it it says "file does not exist".  SW error in AS7.

Latest AS7 is only for those who runs GCC. It is called economical advantage (for the company).

So I am close to giving up AS7 and returning to AS4, even if I have to buy an old XP to have as backup.....

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi David, still trying to make my way through all the mess. SInce AS7 will not install properly (atbackend not accessible though it

physically is on the HDD), I'm trying to make the AS4 work with the JTAGICEmkII. I've found that the driver windrv6.sys is missing

in the system32 folder. However, in the JTAGICEmkII.inf file there is a reference to windrv6.sys, but it has a file reference written

like this: %10%\system32\Drivers\windrv6.sys. Does that mean that it refers to an installation of Windows10? Or what does

the initial %10% mean? Do you know?

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My enthusiasm disappeared about 50 messages ago.

 

I can understand using ICCAVR7 for maintaining a legacy product.

I can understand keeping Win7.    Win-XP seems elderly.

 

If you post a real ICCAVR7 project,   we can build with the Demo  ICCAVR7 and attempt debug the .COF in AS7.0

Or report failure.

 

At least this would confirm your problems.   

Currently,   I do not think it is an ICCAVR7 or AS7.0 problem.   It is a ciroohn problem.

 

Installing AS7.0,  building, testing foreign projects,   ... are simple to do.

I have no intention of installing an Operating System for you.

 

David.

Last Edited: Sun. Mar 17, 2019 - 03:13 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I DID post a real project. But none seems interested, so I have to dig myself.

Thanks for all even though it gave nothing in return except for loss of time.

My environ IS Win7 and AS/ or AS4.

While the XP does work, the Win7 poses a number of problems. Still I use

it for VS projects.

Right now I'm trying to get AS4 to work, after all it's "only" the JTAGICE-problem

to solve. Visible but obviously with a wrong driver.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My apologies.   Where did you post a project?

 

I had requested several times.   This is the first time that I have heard of a posted project.

 

Both Cliff and I had loaded our own .COF files to AS7.0 successfully.

 

David.

 

Edit.   Yes,  I have found your project in #39 now.    I am going out with my dog.   I will build your project when I get back.

Last Edited: Sun. Mar 17, 2019 - 04:42 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, yes, they loaded successfully as asm code. But I need the C source. It is said to be accessible via relinking and its page shows this

but when wishing to see the file, it says "not accessible". Contradicgory information thus.

No, I've given up on the AS7 and is now trying to find ways to get the JTAGICEmkII to work in Win7, if at all possible.

Driver is the problem. The winusb auto installs and the AS4 does not like that one. I've put a question to Mc support for

a driver that fits AS4 and Win7.

Or - i's back to buy another XP for backup and use Win7 only for VS jobs.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I created a ImageCraft_Projects directory on my PC.

I copied your project directory to it.

 

Then "Open Object File for Debugging" in AS7.0.

Located your .COF file.   Created an AS7.0 project  called ObjImagecraft.   Selected ATmega324P as Target.   Simulator as Tool.

 

When I started to Debug it prompted me to locate a weird path for the C file.

If I ignore this,   it can't find the C file.   The debugger shows Disassembly.

 

If I browse to the actual directory on my PC to locate the C file,   the debugger shows C source code.

 

If I create my own ATmega324P project on my PC,   AS7.0 finds my C file automatically.

 

Yes.   AS7.0 works fine on Win7-32 and on Win10-64

 

Obviously we need a Win7-64 owner to repeat the procedure.

 

I could try JTAGICE-mkII on Win10-64 with a real ATmega324PA if you are interested.

I will only attempt the JTAGICE-mkII driver procedure for Win7-32 if you ask me.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi, I accidentally flipped some switch in the upper right corner, some strange symbol, and whoops, there

came the source code! When investigating it seems to be called "Pending filter" something and uses

a clocksymbol. I thought it had some to do with clock filter on the target board, which it obviously

did not. SO it was merfe curiosity that led to this. Not straight logic.

So now I can see the source code and start a debug using the Atmel ICE.

 

Just wanted you to know.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

we need a Win7-64 owner to repeat the procedure.

With ICCAVR...which I no longer have...

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OK with AS4.18, JTAG Mk2 on Win7 Ultimate 64 bits and a Mega324P (did not have a PA) and just opening the files you provided.

 

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

please see comment above. Win7 SEEMS to be under control, by accident....

I did see the C source and the debugger started, even thoiúgh it came one instruction

to far up, relative to the source code. But what the heck.....

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ciroohn wrote:

Hi, I accidentally flipped some switch in the upper right corner, some strange symbol, and whoops, there

came the source code! When investigating it seems to be called "Pending filter" something and usesa clocksymbol.

 

Go on.   Explain where this special symbol is.   Or describe its colour and shape.   Or show a screenshot of this area.

 

My experience on Win7 and Win10 was for C source to be visible when it could locate the C file.

This is in common with any debugger.   If it can't find a file it prompts you to Browse and locate.

 

Libraries are often compiled without debug info.   Quite normal.    You just Step Over instead of Step Into.    Applies to AS4 too.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So back to this briefly. Using Atmel ICE and AS7. The only problem I had was to point to the correct source file path because I was too quick and did not read waht I was supposed to do.

 

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Like others I found it works with:

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mr Samperi has shown AS4 with JTAGICE-mkII working on his Win7-64 PC.

Mr Samperi has shown AS7.0 with ATMEL-ICE working on his Win7-64 PC.

 

I have shown AS7.0 with JTAGICE-mkII working on my Win10-64 PC.

I have shown AS7.0 with ATMEL-ICE working on my Win7-32 PC.

 

I used to debug CodeVision .COF files in AS4.

Now that CodeVision v3 is integrated with AS7.0 debugging works in the regular way.

But I could always go back to the .COF as an external ObjectFile in AS7.0

 

I am a little gobsmacked by the sheer number of messages and threads.

This could all have been resolved within a few hours.

I would understand if it was a 12 year old new User.

 

I am sure that there might be some "AS7 features" that might arise.    If and when they occur please provide the project ZIP that exhibits the problem.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ciroohn wrote:
Even there - a program that runs well on AS4/ICCAVR7 gives unexplainable compiler errors in Jumpstart. It points to a list of items (items given in the list) and says that this item must have more than zero bytes (number of bytes given in the list statement).

Can you show an example program that demo's this error? 

 

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...