wishlist for BricxCC

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: wishlist for BricxCC

Post by nxtboyiii »

Hi,

I have a problem with Bricxcc. I am running it on my HP Mini Windows 7 Starter. It has 1 GB of RAM and about a 1.67 GHz processor.
I get this problem when opening certain files and opening too many files.
This is what the error reads:

Access violation at address 0040CFD7 in module 'BricxCC.exe'. Read of address 74747542.


Please help me with this.

Thanks, and have a nice day,
nxtboy III
Thanks, and have a nice day,
nxtboy III

programnxt.com
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: wishlist for BricxCC

Post by muntoo »

nxtboyiii wrote:Access violation at address 0040CFD7 in module 'BricxCC.exe'. Read of address 74747542.
I suspect BricxCC tried to allocate some memory, failed, tried to access memory that it didn't own, and then DEP kicked in to shut BricxCC down. Add some more Page File, or RAM, or something. Just don't open too many files. (If you want to do that, you can always use Notepad++. :))
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: wishlist for BricxCC

Post by timpattinson »

Easy to do: turn MDI mode off by default, because tabs are better:
sidneys1 wrote:
muntoo wrote:Is that MDI temporary? Will we have a tabbed interface, eventually?
Why, would you prefer tabbed? Don't you like Opera, MS Word, and SpiderWEB?
From IRC:
#mindboards wrote: [12:39] <timpattinson> One tip: in the General tab of the settings, turn of MDI mode, so you can have tabs for files ;)
[12:41] <mattallen37> Oh, as far as MDI mode, it doesn't work with NQC, FYI
[12:41] <mattallen37> it causes BCC to crash
[12:41] <mattallen37> I mean, the tabbed mode
Fix the crash, then turn it on by default
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: wishlist for BricxCC

Post by HaWe »

Unplugging one brick from USB and plugging a different brick to the same USB port lets Brickcxcc not activate the "Find Brick" function.
Screen polling by NXT screen of a running program on the new brick is not possible.

On the other hand: if stopping the running program (BtnEscape) and dowwnload+run by the compiler (ctrl+F5) the brick is recognized nevertheless!

Only if stopping the BricxCC and restarting it then the new attached brick is found and screen polling by NXT screen of the running program is possible again.

So it should be possible to reactivate the "find brick" function in any case.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: wishlist for BricxCC

Post by mattallen37 »

Not 100% accurate. If you switch the USB cable to another brick, you can click the "Close communication" button, then "Find brick" again. You don't need to download a program or restart BCC.

I do agree however, that it is a bit annoying.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: wishlist for BricxCC

Post by HaWe »

good hint, thx!
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: wishlist for BricxCC

Post by muntoo »

I would like the BricxCC\Default\nxc_api.txt file to be in the following format (with examples below):

Code: Select all

type func_name(type params)

unsigned int ArrayLen(variant data[])
char TextOut(int x, int y, string str, unsigned long options = DRAW_OPT_NORMAL)
If there's already a file which lists the API functions and specifies their type, please tell me.

This would make my Notepad++ experience better. (More on that in my blog... soon.)
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: wishlist for BricxCC

Post by muntoo »

Slightly OT, but an easy fix (I think): Could you put NXTDefs.h in the NXC API documentation? (I know it's in the NBC documentation, but it'd be nice to have it in the NXC docs, too.)
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: wishlist for BricxCC

Post by muntoo »

  • The ability to debug across multiple source files.
    (If my code is in another source file, I can't F11 to the line.)
  • Breakpoints.
  • BricxCC project files.
  • A linker. (For the compiler.)
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: wishlist for BricxCC

Post by muntoo »

Little error in NBC Help docs. Go here. Now click on index. See what happens?

Same with the NBC Guide.
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests